Ignore:
Timestamp:
Dec 22, 2024, 4:48:31 PM (9 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
43299af
Parents:
5a02308 (diff), 28c2c9d5 (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/GenPoly/Specialize.cpp

    r5a02308 ra5e2786f  
    300300                } ),
    301301                map_range<DWTVector>( newType->params, [&location, &paramNamer]( const ast::Type * type ) {
    302                         return new ast::ObjectDecl( location, paramNamer.newName(), ast::deepCopy( type ) );
     302                        auto param = new ast::ObjectDecl( location, paramNamer.newName(), ast::deepCopy( type ) );
     303                        param->attributes.push_back( new ast::Attribute( "unused" ) );
     304                        return param;
    303305                } ),
    304306                map_range<DWTVector>( newType->returns, [&location, &paramNamer]( const ast::Type * type ) {
Note: See TracChangeset for help on using the changeset viewer.