Changeset 92fea32
- Timestamp:
- Apr 3, 2018, 11:13:41 AM (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, with_gc
- Children:
- bd87b138
- Parents:
- f6e3e34
- Location:
- src/CodeGen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
rf6e3e34 r92fea32 298 298 output << " }"; 299 299 } 300 } 301 302 void CodeGenerator::postvisit( StaticAssertDecl * assertDecl ) { 303 output << "_Static_assert("; 304 assertDecl->condition->accept( *visitor ); 305 output << ", "; 306 assertDecl->message->accept( *visitor ); 307 output << ")"; 300 308 } 301 309 -
src/CodeGen/CodeGenerator.h
rf6e3e34 r92fea32 42 42 void postvisit( FunctionDecl * ); 43 43 void postvisit( ObjectDecl * ); 44 void postvisit( UnionDecl *aggregateDecl ); 45 void postvisit( EnumDecl *aggregateDecl ); 46 void postvisit( TraitDecl *aggregateDecl ); 47 void postvisit( TypedefDecl *typeDecl ); 48 void postvisit( TypeDecl *typeDecl ); 44 void postvisit( UnionDecl * aggregateDecl ); 45 void postvisit( EnumDecl * aggregateDecl ); 46 void postvisit( TraitDecl * aggregateDecl ); 47 void postvisit( TypedefDecl * typeDecl ); 48 void postvisit( TypeDecl * typeDecl ); 49 void postvisit( StaticAssertDecl * assertDecl ); 49 50 50 51 //*** Initializer
Note: See TracChangeset
for help on using the changeset viewer.