Changeset c20b0fea for src/GenPoly/InstantiateGeneric.cc
- Timestamp:
- Feb 2, 2018, 3:46:29 PM (7 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:
- 11b7028
- Parents:
- 20cba76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/InstantiateGeneric.cc
r20cba76 rc20b0fea 476 476 DeclarationWithType * field = strict_dynamic_cast< DeclarationWithType * >( member ); 477 477 MemberExpr * ret = new MemberExpr( field, memberExpr->aggregate->clone() ); 478 ResolvExpr::adjustExprType( ret->result ); // pointer decay 478 479 std::swap( ret->env, memberExpr->env ); 479 480 delete memberExpr;
Note: See TracChangeset
for help on using the changeset viewer.