Changeset 2e9b59b for src/InitTweak/GenInit.cc
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/GenInit.cc
rba897d21 r2e9b59b 402 402 retVal->location, "?{}", retVal, stmt->expr ); 403 403 assertf( ctorStmt, 404 "ReturnFixer: genCtorDtor returned n llptr: %s / %s",404 "ReturnFixer: genCtorDtor returned nullptr: %s / %s", 405 405 toString( retVal ).c_str(), 406 406 toString( stmt->expr ).c_str() ); 407 407 stmtsToAddBefore.push_back( ctorStmt ); 408 408 409 409 // Return the retVal object. … … 421 421 void genInit( ast::TranslationUnit & transUnit ) { 422 422 ast::Pass<HoistArrayDimension_NoResolve_New>::run( transUnit ); 423 ast::Pass<ReturnFixer_New>::run( transUnit ); 424 } 425 426 void fixReturnStatements( ast::TranslationUnit & transUnit ) { 423 427 ast::Pass<ReturnFixer_New>::run( transUnit ); 424 428 }
Note:
See TracChangeset
for help on using the changeset viewer.