Changeset e33f321 for src/SynTree/TypeSubstitution.cc
- Timestamp:
- Dec 21, 2016, 2:55:56 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:
- 626dbc10
- Parents:
- 8bf784a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/TypeSubstitution.cc
r8bf784a re33f321 231 231 } 232 232 233 TypeSubstitution * TypeSubstitution::acceptMutator( Mutator & mutator ) { 234 for ( auto & p : typeEnv ) { 235 p.second = maybeMutate( p.second, mutator ); 236 } 237 for ( auto & p : varEnv ) { 238 p.second = maybeMutate( p.second, mutator ); 239 } 240 return this; 241 } 242 233 243 void TypeSubstitution::print( std::ostream &os, int indent ) const { 234 244 os << std::string( indent, ' ' ) << "Types:" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.