Ignore:
Timestamp:
May 17, 2023, 4:27:25 PM (14 months ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT
Children:
3a513d89
Parents:
d6c464d
Message:

Save progress

File:
1 edited

Legend:

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

    rd6c464d rf4e01f1  
    793793        VISIT_START( node );
    794794
    795         indexerAddAdt( node );
     795        indexerAddAdtFwd( node );
    796796
    797797        // unlike structs, traits, and unions, enums inject their members into the global scope
     
    811811        VISIT_START( node );
    812812
     813        indexerAddAdtFwd( node );
     814
    813815        maybeAccept_impl( node->data_constructors, *this );
    814816        maybeAccept_impl( node->data_union, *this );
     
    826828Declaration * PassVisitor< pass_type >::mutate( AdtDecl * node ) {
    827829        MUTATE_START( node );
     830       
     831        indexerAddAdtFwd( node );
    828832
    829833        maybeMutate_impl( node->data_constructors, *this );
Note: See TracChangeset for help on using the changeset viewer.