Changeset 35df560
- Timestamp:
- Jun 22, 2017, 9:49:32 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 925b7f4
- Parents:
- da24468
- Location:
- src/Common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.h
rda24468 r35df560 231 231 std::list< Statement* > * get_beforeStmts() { return stmtsToAddBefore_impl( pass, 0); } 232 232 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); } 233 235 bool visit_children() { bool* skip = skip_children_impl(pass, 0); return ! (skip && *skip); } 234 236 void reset_visit() { bool* skip = skip_children_impl(pass, 0); if(skip) *skip = false; } -
src/Common/PassVisitor.impl.h
rda24468 r35df560 348 348 349 349 //-------------------------------------------------------------------------- 350 // SwitchStmt350 // CaseStmt 351 351 template< typename pass_type > 352 352 void PassVisitor< pass_type >::visit( CaseStmt * node ) { -
src/Common/PassVisitor.proto.h
rda24468 r35df560 112 112 FIELD_PTR( std::list< Statement* >, stmtsToAddBefore ) 113 113 FIELD_PTR( std::list< Statement* >, stmtsToAddAfter ) 114 FIELD_PTR( std::list< Declaration* >, declsToAddBefore ) 115 FIELD_PTR( std::list< Declaration* >, declsToAddAfter ) 114 116 FIELD_PTR( bool, skip_children ) 115 117 FIELD_PTR( at_cleanup_t, at_cleanup )
Note: See TracChangeset
for help on using the changeset viewer.