Changeset 5f642e38 for src/CodeGen/GenType.cc
- Timestamp:
- Apr 19, 2017, 12:08:40 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:
- e3987770
- Parents:
- 7069652
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/GenType.cc
r7069652 r5f642e38 186 186 funcType->get_returnVals().front()->get_type()->accept( *this ); 187 187 } // if 188 189 // add forall 190 if( ! funcType->get_forall().empty() && ! genC ) { 191 // assertf( ! genC, "Aggregate type parameters should not reach code generation." ); 192 std::ostringstream os; 193 CodeGenerator cg( os, pretty, genC ); 194 os << "forall("; 195 cg.genCommaList( funcType->get_forall().begin(), funcType->get_forall().end() ); 196 os << ")" << std::endl; 197 typeString = os.str() + typeString; 198 } 188 199 } 189 200
Note: See TracChangeset
for help on using the changeset viewer.