Changeset d9fa60a for src/InitTweak


Ignore:
Timestamp:
Nov 16, 2016, 4:37:50 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
186fd86
Parents:
33a7b6d
Message:

moved substituion into MemberExpr? constructor, change generated tuple structs to generic structs, tuples containing type variables almost works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    r33a7b6d rd9fa60a  
    904904                                        // insert and resolve default/copy constructor call for each field that's unhandled
    905905                                        std::list< Statement * > stmt;
    906                                         UntypedExpr * deref = new UntypedExpr( new NameExpr( "*?" ) );
    907                                         deref->get_args().push_back( new VariableExpr( thisParam ) );
     906                                        UntypedExpr * deref = UntypedExpr::createDeref( new VariableExpr( thisParam ) );
    908907
    909908                                        Expression * arg2 = 0;
Note: See TracChangeset for help on using the changeset viewer.