Changes in src/AST/Pass.impl.hpp [eb779d5:3d9d017]
- File:
-
- 1 edited
-
src/AST/Pass.impl.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.impl.hpp
reb779d5 r3d9d017 1134 1134 1135 1135 //-------------------------------------------------------------------------- 1136 // CoforStmt 1137 template< typename core_t > 1138 const ast::Stmt * ast::Pass< core_t >::visit( const ast::CoforStmt * node ) { 1139 VISIT_START( node ); 1140 1141 if ( __visit_children() ) { 1142 // for statements introduce a level of scope (for the initialization) 1143 guard_symtab guard { *this }; 1144 maybe_accept( node, &CoforStmt::inits ); 1145 maybe_accept_top( node, &CoforStmt::cond ); 1146 maybe_accept_top( node, &CoforStmt::inc ); 1147 maybe_accept_as_compound( node, &CoforStmt::body ); 1148 } 1149 1150 VISIT_END( Stmt, node ); 1151 } 1152 1153 //-------------------------------------------------------------------------- 1136 1154 // ApplicationExpr 1137 1155 template< typename core_t >
Note:
See TracChangeset
for help on using the changeset viewer.