Changes in src/InitTweak/FixGlobalInit.cc [7e003011:8ca3a72]
- File:
-
- 1 edited
-
src/InitTweak/FixGlobalInit.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixGlobalInit.cc
r7e003011 r8ca3a72 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( __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 ) {}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 ) {} 137 133 138 134 } // namespace InitTweak
Note:
See TracChangeset
for help on using the changeset viewer.