Changeset 76ed81f for src/AST/Print.cpp
- Timestamp:
- May 22, 2019, 5:22:30 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 893e106
- Parents:
- 6380f78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r6380f78 r76ed81f 495 495 496 496 virtual const ast::TypeSubstitution * visit( const ast::TypeSubstitution * node ) { 497 os << indent << "Types:" << std::endl; 498 for ( const auto& i : *node ) { 499 os << indent+1 << i.first << " -> "; 500 indent += 2; 501 i.second->accept( *this ); 502 indent -= 2; 503 os << std::endl; 504 } 505 os << indent << "Non-types:" << std::endl; 506 for ( auto i = node->beginVar(); i != node->endVar(); ++i ) { 507 os << indent+1 << i->first << " -> "; 508 indent += 2; 509 i->second->accept( *this ); 510 indent -= 2; 511 os << std::endl; 512 } 497 513 return node; 498 514 }
Note: See TracChangeset
for help on using the changeset viewer.