Changeset b1e63ac5 for src/InitTweak/FixGlobalInit.cc
- Timestamp:
- Jul 4, 2017, 9:40:16 AM (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:
- 208e5be
- Parents:
- 9c951e3 (diff), f7cb0bc (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/InitTweak/FixGlobalInit.cc
r9c951e3 rb1e63ac5 26 26 27 27 namespace InitTweak { 28 namespace {29 const std::list<Label> noLabels;30 }31 32 28 class GlobalFixer : public Visitor { 33 29 public: … … 129 125 130 126 // only modify global variables 131 void GlobalFixer::visit( FunctionDecl *functionDecl ) {}132 void GlobalFixer::visit( StructDecl *aggregateDecl ) {}133 void GlobalFixer::visit( UnionDecl *aggregateDecl ) {}134 void GlobalFixer::visit( EnumDecl *aggregateDecl ) {}135 void GlobalFixer::visit( TraitDecl *aggregateDecl ) {}136 void GlobalFixer::visit( TypeDecl *typeDecl ) {}127 void GlobalFixer::visit( __attribute__((unused)) FunctionDecl *functionDecl ) {} 128 void GlobalFixer::visit( __attribute__((unused)) StructDecl *aggregateDecl ) {} 129 void GlobalFixer::visit( __attribute__((unused)) UnionDecl *aggregateDecl ) {} 130 void GlobalFixer::visit( __attribute__((unused)) EnumDecl *aggregateDecl ) {} 131 void GlobalFixer::visit( __attribute__((unused)) TraitDecl *aggregateDecl ) {} 132 void GlobalFixer::visit( __attribute__((unused)) TypeDecl *typeDecl ) {} 137 133 138 134 } // namespace InitTweak
Note:
See TracChangeset
for help on using the changeset viewer.