Changes in src/GenPoly/Box.cc [064cb18:dd0c97b]
- File:
-
- 1 edited
-
src/GenPoly/Box.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
r064cb18 rdd0c97b 1307 1307 } 1308 1308 } 1309 // errors should have been caught by this point, remove initializers from parameters to allow correct codegen of default arguments1310 for ( Declaration * param : functionDecl->get_functionType()->get_parameters() ) {1311 if ( ObjectDecl * obj = dynamic_cast< ObjectDecl * >( param ) ) {1312 delete obj->get_init();1313 obj->set_init( nullptr );1314 }1315 }1316 1309 return functionDecl; 1317 1310 }
Note:
See TracChangeset
for help on using the changeset viewer.