Ignore:
File:
1 edited

Legend:

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

    r71806e0 r5408b59  
    607607                        indexerAddId( &func );
    608608                        maybeMutate_impl( node->type, *this );
    609                         maybeMutate_impl( node->attributes, *this );
    610609                        // First remember that we are now within a function.
    611610                        ValueGuard< bool > oldInFunction( inFunction );
     
    616615                        atFunctionTop = true;
    617616                        maybeMutate_impl( node->statements, *this );
     617                        maybeMutate_impl( node->attributes, *this );
    618618                }
    619619        }
     
    10441044
    10451045        MUTATE_END( StaticAssertDecl, node );
    1046 }
    1047 
    1048 //--------------------------------------------------------------------------
    1049 // InlineMemberDecl
    1050 template< typename pass_type >
    1051 void PassVisitor< pass_type >::visit( InlineMemberDecl * node ) {
    1052         VISIT_START( node );
    1053 
    1054         maybeAccept_impl( node->type, *this );
    1055 
    1056         VISIT_END( node );
    1057 }
    1058 
    1059 template< typename pass_type >
    1060 void PassVisitor< pass_type >::visit( const InlineMemberDecl * node ) {
    1061         VISIT_START( node );
    1062 
    1063         maybeAccept_impl( node->type, *this );
    1064 
    1065         VISIT_END( node );
    1066 }
    1067 
    1068 template< typename pass_type >
    1069 DeclarationWithType * PassVisitor< pass_type >::mutate( InlineMemberDecl * node ) {
    1070         MUTATE_START( node );
    1071 
    1072         maybeMutate_impl( node->type, *this );
    1073 
    1074         MUTATE_END( DeclarationWithType, node );
    10751046}
    10761047
Note: See TracChangeset for help on using the changeset viewer.