Changes in src/Common/PassVisitor.impl.h [ee3c93d:d807ca28]
- File:
-
- 1 edited
-
src/Common/PassVisitor.impl.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
ree3c93d rd807ca28 828 828 VISIT_START( node ); 829 829 830 { 831 // while statements introduce a level of scope (for the initialization) 832 auto guard = makeFuncGuard( [this]() { indexerScopeEnter(); }, [this]() { indexerScopeLeave(); } ); 833 maybeAccept_impl( node->initialization, *this ); 834 visitExpression ( node->condition ); 835 node->body = visitStatement( node->body ); 836 } 830 visitExpression( node->condition ); 831 node->body = visitStatement( node->body ); 837 832 838 833 VISIT_END( node ); … … 843 838 MUTATE_START( node ); 844 839 845 { 846 // while statements introduce a level of scope (for the initialization) 847 auto guard = makeFuncGuard( [this]() { indexerScopeEnter(); }, [this]() { indexerScopeLeave(); } ); 848 maybeMutate_impl( node->initialization, *this ); 849 node->condition = mutateExpression( node->condition ); 850 node->body = mutateStatement ( node->body ); 851 } 852 840 node->condition = mutateExpression( node->condition ); 841 node->body = mutateStatement ( node->body ); 853 842 854 843 MUTATE_END( Statement, node );
Note:
See TracChangeset
for help on using the changeset viewer.