Changeset 907eccb for src/Tuples
- Timestamp:
- Dec 22, 2016, 3:23:49 PM (8 years ago)
- 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:
- 4c8621ac
- Parents:
- 0c286cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Tuples/TupleExpansion.cc
r0c286cf r907eccb 144 144 145 145 Expression * MemberTupleExpander::mutate( UntypedMemberExpr * memberExpr ) { 146 if ( TupleExpr * tupleExpr = dynamic_cast<TupleExpr * > ( memberExpr->get_member() ) ) {146 if ( UntypedTupleExpr * tupleExpr = dynamic_cast< UntypedTupleExpr * > ( memberExpr->get_member() ) ) { 147 147 Expression * aggr = memberExpr->get_aggregate()->clone()->acceptMutator( *this ); 148 148 // aggregate expressions which might be impure must be wrapped in unique expressions … … 315 315 qualifiers &= type->get_qualifiers(); 316 316 } // for 317 if ( exprs.empty() ) qualifiers = Type::Qualifiers(); 317 318 return tupleType; 318 319 }
Note: See TracChangeset
for help on using the changeset viewer.