Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.impl.hpp

    r19a8c40 r5408b59  
    617617                                maybe_accept( node, &FunctionDecl::returns );
    618618                                maybe_accept( node, &FunctionDecl::type );
    619                                 maybe_accept( node, &FunctionDecl::attributes );
    620619                                // First remember that we are now within a function.
    621620                                ValueGuard< bool > oldInFunction( inFunction );
     
    626625                                atFunctionTop = true;
    627626                                maybe_accept( node, &FunctionDecl::stmts );
     627                                maybe_accept( node, &FunctionDecl::attributes );
    628628                        }
    629629                }
     
    800800
    801801        VISIT_END( StaticAssertDecl, node );
    802 }
    803 
    804 //--------------------------------------------------------------------------
    805 // InlineMemberDecl
    806 template< typename core_t >
    807 const ast::DeclWithType * ast::Pass< core_t >::visit( const ast::InlineMemberDecl * node ) {
    808         VISIT_START( node );
    809 
    810         if ( __visit_children() ) {
    811                 {
    812                         guard_symtab guard { *this };
    813                         maybe_accept( node, &InlineMemberDecl::type );
    814                 }
    815         }
    816 
    817         VISIT_END( DeclWithType, node );
    818802}
    819803
Note: See TracChangeset for help on using the changeset viewer.