Changeset 1132b62 for src/SynTree


Ignore:
Timestamp:
Sep 20, 2016, 7:14:15 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:
65660bd
Parents:
23b6643f
Message:

copy construct tuple function arguments, and destruct tuple function results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/TupleExpr.cc

    r23b6643f r1132b62  
    4646        assert( type->size() > index );
    4747        set_result( (*std::next( type->get_types().begin(), index ))->clone() );
     48        get_result()->set_isLvalue( type->get_isLvalue() );
    4849}
    4950
Note: See TracChangeset for help on using the changeset viewer.