Changeset 7e003011 for src/CodeGen
- Timestamp:
- Jun 5, 2017, 1:59:11 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:
- 7b13aeb
- Parents:
- b3c36f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
rb3c36f4 r7e003011 267 267 } 268 268 269 void CodeGenerator::visit( TraitDecl * traitDecl ) {}269 void CodeGenerator::visit( __attribute__((unused)) TraitDecl * traitDecl ) {} 270 270 271 271 void CodeGenerator::visit( TypedefDecl * typeDecl ) { … … 328 328 } 329 329 330 void CodeGenerator::visit( ConstructorInit * init ){330 void CodeGenerator::visit( __attribute__((unused)) ConstructorInit * init ){ 331 331 assertf( ! genC, "ConstructorInit nodes should not reach code generation." ); 332 332 // xxx - generate something reasonable for constructor/destructor pairs … … 962 962 } 963 963 964 void CodeGenerator::visit( NullStmt * nullStmt ) {964 void CodeGenerator::visit( __attribute__((unused)) NullStmt * nullStmt ) { 965 965 //output << indent << CodeGenerator::printLabels( nullStmt->get_labels() ); 966 966 output << "/* null statement */ ;";
Note: See TracChangeset
for help on using the changeset viewer.