Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.hpp

    red96731 rfca78f1  
    327327/// The Pass template handles what *before* and *after* means automatically
    328328template< template<class...> class container_t = std::list >
    329 struct WithStmtsToAddX {
     329struct WithStmtsToAdd {
    330330        container_t< ptr<Stmt> > stmtsToAddBefore;
    331331        container_t< ptr<Stmt> > stmtsToAddAfter;
    332332};
    333 
    334 struct WithStmtsToAdd : public WithStmtsToAddX<> {};
    335333
    336334/// Used if visitor requires added declarations before or after the current node.
    337335/// The Pass template handles what *before* and *after* means automatically
    338336template< template<class...> class container_t = std::list >
    339 struct WithDeclsToAddX {
     337struct WithDeclsToAdd {
    340338        container_t< ptr<Decl> > declsToAddBefore;
    341339        container_t< ptr<Decl> > declsToAddAfter;
    342340};
    343 
    344 struct WithDeclsToAdd : public WithDeclsToAddX<> {};
    345341
    346342/// Use if visitation should stop at certain levels
Note: See TracChangeset for help on using the changeset viewer.