Changeset 6eb8948 for src/InitTweak


Ignore:
Timestamp:
Sep 12, 2016, 6:32:46 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:
f006f01
Parents:
8f7cea1
git-author:
Rob Schluntz <rschlunt@…> (09/12/16 18:24:34)
git-committer:
Rob Schluntz <rschlunt@…> (09/12/16 18:32:46)
Message:

make TupleAssignment? generate temporaries, add StmtExpr? for GCC statement expressions, expand tuple assignment expressions, collapse SolvedTupleExpr?, MassAssignExpr?, and MultipleAssignExpr? into TupleAssignExpr?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.cc

    r8f7cea1 r6eb8948  
    449449                // virtual void visit( LogicalExpr *logicalExpr );
    450450                // virtual void visit( ConditionalExpr *conditionalExpr );
    451                 virtual void visit( TupleExpr *tupleExpr ) { isConstExpr = false; }
    452                 virtual void visit( SolvedTupleExpr *tupleExpr ) { isConstExpr = false; }
    453451                virtual void visit( TypeExpr *typeExpr ) { isConstExpr = false; }
    454452                virtual void visit( AsmExpr *asmExpr ) { isConstExpr = false; }
    455453                virtual void visit( UntypedValofExpr *valofExpr ) { isConstExpr = false; }
    456454                virtual void visit( CompoundLiteralExpr *compLitExpr ) { isConstExpr = false; }
     455                virtual void visit( TupleExpr *tupleExpr ) { isConstExpr = false; }
     456                virtual void visit( TupleAssignExpr *tupleExpr ) { isConstExpr = false; }
    457457
    458458                bool isConstExpr;
Note: See TracChangeset for help on using the changeset viewer.