Ignore:
Timestamp:
Jan 19, 2024, 2:44:41 AM (6 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
ac939461
Parents:
59c8dff (diff), e8b3717 (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/Validate/Autogen.cpp

    r59c8dff rf988834  
    445445
    446446                auto * paramType = ast::deepCopy( member->get_type() );
    447                 paramType->attributes.clear();
     447                erase_if( paramType->attributes, []( ast::Attribute const * attr ){
     448                        return !attr->isValidOnFuncParam();
     449                } );
    448450                ast::ObjectDecl * param = new ast::ObjectDecl(
    449451                        getLocation(), member->name, paramType );
Note: See TracChangeset for help on using the changeset viewer.