Changes in src/AST/Pass.hpp [ed96731:fca78f1]
- File:
-
- 1 edited
-
src/AST/Pass.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
red96731 rfca78f1 327 327 /// The Pass template handles what *before* and *after* means automatically 328 328 template< template<class...> class container_t = std::list > 329 struct WithStmtsToAdd X{329 struct WithStmtsToAdd { 330 330 container_t< ptr<Stmt> > stmtsToAddBefore; 331 331 container_t< ptr<Stmt> > stmtsToAddAfter; 332 332 }; 333 334 struct WithStmtsToAdd : public WithStmtsToAddX<> {};335 333 336 334 /// Used if visitor requires added declarations before or after the current node. 337 335 /// The Pass template handles what *before* and *after* means automatically 338 336 template< template<class...> class container_t = std::list > 339 struct WithDeclsToAdd X{337 struct WithDeclsToAdd { 340 338 container_t< ptr<Decl> > declsToAddBefore; 341 339 container_t< ptr<Decl> > declsToAddAfter; 342 340 }; 343 344 struct WithDeclsToAdd : public WithDeclsToAddX<> {};345 341 346 342 /// Use if visitation should stop at certain levels
Note:
See TracChangeset
for help on using the changeset viewer.