Ignore:
Timestamp:
Nov 13, 2023, 1:40:12 PM (8 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
6ea85b22
Parents:
25f2798
Message:

Removed forward declarations missed in the BaseSyntaxNode? removal. Removed code and modified names to support two versions of the ast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixGlobalInit.cc

    r25f2798 r0bd3faf  
    2727
    2828namespace InitTweak {
    29         class GlobalFixer_new : public ast::WithShortCircuiting {
     29        class GlobalFixer : public ast::WithShortCircuiting {
    3030        public:
    3131                void previsit (const ast::ObjectDecl *);
     
    4242
    4343        void fixGlobalInit(ast::TranslationUnit & translationUnit, bool inLibrary) {
    44                 ast::Pass<GlobalFixer_new> fixer;
     44                ast::Pass<GlobalFixer> fixer;
    4545                accept_all(translationUnit, fixer);
    4646
     
    7373        }
    7474
    75         void GlobalFixer_new::previsit(const ast::ObjectDecl * objDecl) {
     75        void GlobalFixer::previsit(const ast::ObjectDecl * objDecl) {
    7676                auto mutDecl = mutate(objDecl);
    7777                assertf(mutDecl == objDecl, "Global object decl must be unique");
Note: See TracChangeset for help on using the changeset viewer.