Changeset ac57659 for src/SymTab


Ignore:
Timestamp:
Dec 4, 2017, 3:36:40 PM (7 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:
0a60c04
Parents:
6d2f993
Message:

Convert reference-typed with expressions to rvalue when building member expressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.cc

    r6d2f993 rac57659  
    669669                if ( baseExpr ) {
    670670                        Expression * base = baseExpr->clone();
     671                        ResolvExpr::referenceToRvalueConversion( base );
    671672                        Expression * ret = new MemberExpr( id, base );
    672673                        // xxx - this introduces hidden environments, for now remove them.
Note: See TracChangeset for help on using the changeset viewer.