Changeset 10e90cb for src/CodeGen/CodeGenerator.cc
- Timestamp:
- Jun 6, 2017, 2:50:57 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:
- c6d2e93
- Parents:
- 8ca3a72 (diff), c5ac6d5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r8ca3a72 r10e90cb 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.