Changeset 0bd3faf for src/InitTweak/FixGlobalInit.cc
- Timestamp:
- Nov 13, 2023, 1:40:12 PM (8 months ago)
- Branches:
- master
- Children:
- 6ea85b22
- Parents:
- 25f2798
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixGlobalInit.cc
r25f2798 r0bd3faf 27 27 28 28 namespace InitTweak { 29 class GlobalFixer _new: public ast::WithShortCircuiting {29 class GlobalFixer : public ast::WithShortCircuiting { 30 30 public: 31 31 void previsit (const ast::ObjectDecl *); … … 42 42 43 43 void fixGlobalInit(ast::TranslationUnit & translationUnit, bool inLibrary) { 44 ast::Pass<GlobalFixer _new> fixer;44 ast::Pass<GlobalFixer> fixer; 45 45 accept_all(translationUnit, fixer); 46 46 … … 73 73 } 74 74 75 void GlobalFixer _new::previsit(const ast::ObjectDecl * objDecl) {75 void GlobalFixer::previsit(const ast::ObjectDecl * objDecl) { 76 76 auto mutDecl = mutate(objDecl); 77 77 assertf(mutDecl == objDecl, "Global object decl must be unique");
Note: See TracChangeset
for help on using the changeset viewer.