Ignore:
File:
1 edited

Legend:

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

    r4ec9513 r2377ca2  
    575575                        __pass::symtab::addId( core, 0, func );
    576576                        if ( __visit_children() ) {
     577                                // parameter declarations
     578                                maybe_accept( node, &FunctionDecl::params );
     579                                maybe_accept( node, &FunctionDecl::returns );
     580                                // type params and assertions
    577581                                maybe_accept( node, &FunctionDecl::type_params );
    578582                                maybe_accept( node, &FunctionDecl::assertions );
    579                                 maybe_accept( node, &FunctionDecl::params );
    580                                 maybe_accept( node, &FunctionDecl::returns );
    581                                 maybe_accept( node, &FunctionDecl::type );
    582583                                // First remember that we are now within a function.
    583584                                ValueGuard< bool > oldInFunction( inFunction );
     
    15211522
    15221523//--------------------------------------------------------------------------
    1523 // DimensionExpr
    1524 template< typename core_t >
    1525 const ast::Expr * ast::Pass< core_t >::visit( const ast::DimensionExpr * node ) {
    1526         VISIT_START( node );
    1527 
    1528         if ( __visit_children() ) {
    1529                 guard_symtab guard { *this };
    1530                 maybe_accept( node, &DimensionExpr::result );
    1531         }
    1532 
    1533         VISIT_END( Expr, node );
    1534 }
    1535 
    1536 //--------------------------------------------------------------------------
    15371524// AsmExpr
    15381525template< typename core_t >
     
    18721859
    18731860        if ( __visit_children() ) {
    1874                 maybe_accept( node, &PointerType::dimension );
     1861                // xxx - should PointerType visit/mutate dimension?
    18751862                maybe_accept( node, &PointerType::base );
    18761863        }
Note: See TracChangeset for help on using the changeset viewer.