Changes in src/InitTweak/FixGlobalInit.cc [8ca3a72:7e003011]
- File:
-
- 1 edited
-
src/InitTweak/FixGlobalInit.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixGlobalInit.cc
r8ca3a72 r7e003011 26 26 27 27 namespace InitTweak { 28 namespace { 29 const std::list<Label> noLabels; 30 } 31 28 32 class GlobalFixer : public Visitor { 29 33 public: … … 125 129 126 130 // only modify global variables 127 void GlobalFixer::visit( FunctionDecl *functionDecl ) {}128 void GlobalFixer::visit( StructDecl *aggregateDecl ) {}129 void GlobalFixer::visit( UnionDecl *aggregateDecl ) {}130 void GlobalFixer::visit( EnumDecl *aggregateDecl ) {}131 void GlobalFixer::visit( TraitDecl *aggregateDecl ) {}132 void GlobalFixer::visit( TypeDecl *typeDecl ) {}131 void GlobalFixer::visit( __attribute__((unused)) FunctionDecl *functionDecl ) {} 132 void GlobalFixer::visit( __attribute__((unused)) StructDecl *aggregateDecl ) {} 133 void GlobalFixer::visit( __attribute__((unused)) UnionDecl *aggregateDecl ) {} 134 void GlobalFixer::visit( __attribute__((unused)) EnumDecl *aggregateDecl ) {} 135 void GlobalFixer::visit( __attribute__((unused)) TraitDecl *aggregateDecl ) {} 136 void GlobalFixer::visit( __attribute__((unused)) TypeDecl *typeDecl ) {} 133 137 134 138 } // namespace InitTweak
Note:
See TracChangeset
for help on using the changeset viewer.