Ignore:
Timestamp:
Nov 14, 2022, 11:52:44 AM (3 years ago)
Author:
caparson <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
7d9598d8
Parents:
b77f0e1 (diff), 19a8c40 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

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

    rb77f0e1 r63be3387  
    607607                        indexerAddId( &func );
    608608                        maybeMutate_impl( node->type, *this );
     609                        maybeMutate_impl( node->attributes, *this );
    609610                        // First remember that we are now within a function.
    610611                        ValueGuard< bool > oldInFunction( inFunction );
     
    615616                        atFunctionTop = true;
    616617                        maybeMutate_impl( node->statements, *this );
    617                         maybeMutate_impl( node->attributes, *this );
    618618                }
    619619        }
     
    10441044
    10451045        MUTATE_END( StaticAssertDecl, node );
     1046}
     1047
     1048//--------------------------------------------------------------------------
     1049// InlineMemberDecl
     1050template< typename pass_type >
     1051void PassVisitor< pass_type >::visit( InlineMemberDecl * node ) {
     1052        VISIT_START( node );
     1053
     1054        maybeAccept_impl( node->type, *this );
     1055
     1056        VISIT_END( node );
     1057}
     1058
     1059template< typename pass_type >
     1060void 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
     1068template< typename pass_type >
     1069DeclarationWithType * PassVisitor< pass_type >::mutate( InlineMemberDecl * node ) {
     1070        MUTATE_START( node );
     1071
     1072        maybeMutate_impl( node->type, *this );
     1073
     1074        MUTATE_END( DeclarationWithType, node );
    10461075}
    10471076
Note: See TracChangeset for help on using the changeset viewer.