Ignore:
Timestamp:
Jun 22, 2017, 9:49:32 AM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
925b7f4
Parents:
da24468
Message:

Added boilerplate for declarations to add

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.h

    rda24468 r35df560  
    231231        std::list< Statement* > *       get_beforeStmts() { return stmtsToAddBefore_impl( pass, 0); }
    232232        std::list< Statement* > *       get_afterStmts () { return stmtsToAddAfter_impl ( pass, 0); }
     233        std::list< Declaration* > *     get_beforeDecls() { return declsToAddBefore_impl( pass, 0); }
     234        std::list< Declaration* > *     get_afterDecls () { return declsToAddAfter_impl ( pass, 0); }
    233235        bool visit_children() { bool* skip = skip_children_impl(pass, 0); return ! (skip && *skip); }
    234236        void reset_visit() { bool* skip = skip_children_impl(pass, 0); if(skip) *skip = false; }
Note: See TracChangeset for help on using the changeset viewer.