Changeset f23de79d for src/AST/Print.cpp
- Timestamp:
- May 22, 2019, 5:34:17 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:
- 0b8bf27
- Parents:
- 5902625 (diff), 722c4831 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r5902625 rf23de79d 656 656 657 657 virtual const ast::TypeSubstitution * visit( const ast::TypeSubstitution * node ) { 658 os << indent << "Types:" << std::endl; 659 for ( const auto& i : *node ) { 660 os << indent+1 << i.first << " -> "; 661 indent += 2; 662 i.second->accept( *this ); 663 indent -= 2; 664 os << std::endl; 665 } 666 os << indent << "Non-types:" << std::endl; 667 for ( auto i = node->beginVar(); i != node->endVar(); ++i ) { 668 os << indent+1 << i->first << " -> "; 669 indent += 2; 670 i->second->accept( *this ); 671 indent -= 2; 672 os << std::endl; 673 } 658 674 return node; 659 675 }
Note: See TracChangeset
for help on using the changeset viewer.