- Timestamp:
- Dec 20, 2024, 9:38:52 PM (10 months ago)
- Branches:
- master
- Children:
- 0cd168f
- Parents:
- 3df3a8f
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Specialize.cpp
r3df3a8f r0bf03ba2 300 300 } ), 301 301 map_range<DWTVector>( newType->params, [&location, ¶mNamer]( 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; 303 305 } ), 304 306 map_range<DWTVector>( newType->returns, [&location, ¶mNamer]( const ast::Type * type ) { -
src/InitTweak/FixInit.cpp
r3df3a8f r0bf03ba2 70 70 ast::Linkage::Cforall 71 71 ); 72 dstParam->attributes.push_back( new ast::Attribute( "unused" ) ); 72 73 return new ast::FunctionDecl( loc, 73 74 fname,
Note:
See TracChangeset
for help on using the changeset viewer.