Changeset 6137fbb for src/SynTree/ReferenceToType.cc
- Timestamp:
- Oct 19, 2017, 11:13:11 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, 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:
- bd7e609
- Parents:
- 0a22cda
- git-author:
- Rob Schluntz <rschlunt@…> (10/11/17 15:59:22)
- git-committer:
- Rob Schluntz <rschlunt@…> (10/19/17 11:13:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/ReferenceToType.cc
r0a22cda r6137fbb 129 129 bool EnumInstType::isComplete() const { return baseEnum ? baseEnum->has_body() : false; } 130 130 131 void EnumInstType::print( std::ostream &os, Indenter indent ) const { 132 using std::endl; 133 134 if ( baseEnum == nullptr ) ReferenceToType::print( os, indent ); 135 else { 136 Type::print( os, indent ); 137 os << "instance of " << typeString() << " " << name << " with body " << baseEnum->has_body() << " "; 138 } // if 139 } 140 141 131 142 std::string TraitInstType::typeString() const { return "trait"; } 132 143
Note: See TracChangeset
for help on using the changeset viewer.