Changeset 593370c
- Timestamp:
- Apr 3, 2018, 2:02:12 PM (5 years ago)
- Branches:
- 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, with_gc
- Children:
- 9d1e3f7
- Parents:
- 0f40912
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r0f40912 r593370c 203 203 204 204 void CodeGenerator::handleAggregate( AggregateDecl * aggDecl, const std::string & kind ) { 205 genAttributes( aggDecl->get_attributes() );206 207 205 if( ! aggDecl->get_parameters().empty() && ! genC ) { 208 206 // assertf( ! genC, "Aggregate type parameters should not reach code generation." ); … … 213 211 } 214 212 215 output << kind << aggDecl->get_name(); 213 output << kind; 214 genAttributes( aggDecl->get_attributes() ); 215 output << aggDecl->get_name(); 216 216 217 217 if ( aggDecl->has_body() ) {
Note: See TracChangeset
for help on using the changeset viewer.