Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.impl.h

    rb73bd70 raf5c204a  
    44        __attribute__((unused))                   \
    55        const auto & guard = init_guard();        \
    6         bool visit_children = true;               \
    7         set_visit_children( visit_children );   \
    86        call_previsit( node );                    \
    9         if( visit_children ) {                    \
     7        if( visit_children() ) {                  \
    108
    119#define VISIT_END( node )                       \
    1210        }                                         \
     11        reset_visit();                            \
    1312        call_postvisit( node );                   \
    1413
     
    1615        __attribute__((unused))                   \
    1716        const auto & guard = init_guard();        \
    18         bool visit_children = true;               \
    19         set_visit_children( visit_children );   \
    2017        call_premutate( node );                   \
    21         if( visit_children ) {                    \
     18        if( visit_children() ) {                  \
    2219
    2320#define MUTATE_END( type, node )                \
    2421        }                                         \
     22        reset_visit();                            \
    2523        return call_postmutate< type * >( node ); \
    2624
     
    350348
    351349//--------------------------------------------------------------------------
    352 // CaseStmt
     350// SwitchStmt
    353351template< typename pass_type >
    354352void PassVisitor< pass_type >::visit( CaseStmt * node ) {
Note: See TracChangeset for help on using the changeset viewer.