Changeset 2890212 for src/AST/TypeSubstitution.cpp
- Timestamp:
- Jul 31, 2019, 3:23:04 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ae265b55, f49b3fc
- Parents:
- 504eb72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.cpp
r504eb72 r2890212 146 146 ptr<Type> newType = i->second; // force clone if needed 147 147 add_qualifiers( newType, inst->qualifiers ); 148 // Note: need to recursively apply substitution to the new type because normalize does not 148 // Note: need to recursively apply substitution to the new type because normalize does not 149 149 // substitute bound vars, but bound vars must be substituted when not in freeOnly mode. 150 150 newType = newType->accept( *visitor ); … … 159 159 } else { 160 160 subCount++; 161 delete nameExpr;162 161 return i->second; 163 162 } // if
Note: See TracChangeset
for help on using the changeset viewer.