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