Changeset 9ff56e7
- Timestamp:
 - Jul 6, 2017, 4:13:46 PM (8 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:
 - 3873b5a1, e182ce3
 - Parents:
 - 577659b
 - Location:
 - src
 - Files:
 - 
      
- 4 edited
 
- 
          
  GenPoly/InstantiateGeneric.cc (modified) (1 diff)
 - 
          
  InitTweak/GenInit.cc (modified) (2 diffs)
 - 
          
  Parser/parser.yy (modified) (1 diff)
 - 
          
  ResolvExpr/CurrentObject.cc (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/GenPoly/InstantiateGeneric.cc
r577659b r9ff56e7 171 171 Type* postmutate( UnionInstType *inst ); 172 172 173 void premutate( FunctionType * ftype ) {173 void premutate( __attribute__((unused)) FunctionType * ftype ) { 174 174 GuardValue( inFunctionType ); 175 175 inFunctionType = true;  - 
      
src/InitTweak/GenInit.cc
r577659b r9ff56e7 71 71 // that need to be constructed or destructed 72 72 void previsit( StructDecl *aggregateDecl ); 73 void previsit( UnionDecl *aggregateDecl ) { visit_children = false; } 74 void previsit( EnumDecl *aggregateDecl ) { visit_children = false; } 75 void previsit( TraitDecl *aggregateDecl ) { visit_children = false; } 76 void previsit( TypeDecl *typeDecl ) { visit_children = false; } 77 void previsit( TypedefDecl *typeDecl ) { visit_children = false; } 78 79 void previsit( FunctionType *funcType ) { visit_children = false; } 73 void previsit( __attribute__((unused)) UnionDecl * aggregateDecl ) { visit_children = false; } 74 void previsit( __attribute__((unused)) EnumDecl * aggregateDecl ) { visit_children = false; } 75 void previsit( __attribute__((unused)) TraitDecl * aggregateDecl ) { visit_children = false; } 76 void previsit( __attribute__((unused)) TypeDecl * typeDecl ) { visit_children = false; } 77 void previsit( __attribute__((unused)) TypedefDecl * typeDecl ) { visit_children = false; } 78 void previsit( __attribute__((unused)) FunctionType * funcType ) { visit_children = false; } 80 79 81 80 void previsit( CompoundStmt * compoundStmt ); … … 336 335 } 337 336 338 void CtorDtor::previsit( CompoundStmt * compoundStmt ) {337 void CtorDtor::previsit( __attribute__((unused)) CompoundStmt * compoundStmt ) { 339 338 GuardScope( managedTypes ); 340 339 }  - 
      
src/Parser/parser.yy
r577659b r9ff56e7 2332 2332 | TYPEGENname 2333 2333 | CONST 2334 { $$ = Token{ new string( "__const__" ) }; }2334 { $$ = Token{ new string( "__const__" ), { nullptr, -1 } }; } 2335 2335 ; 2336 2336  - 
      
src/ResolvExpr/CurrentObject.cc
r577659b r9ff56e7 127 127 } 128 128 129 virtual void print( std::ostream & out, Indenter indent ) const {129 virtual void print( std::ostream & out, __attribute__((unused)) Indenter indent ) const { 130 130 out << "SimpleIterator(" << type << ")"; 131 131 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.