Changeset 37273c8 for src/InitTweak/FixInitNew.cpp
- Timestamp:
- Nov 28, 2023, 3:01:52 PM (9 months ago)
- Branches:
- master
- Children:
- ab9c1b3
- Parents:
- 4bc4b4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInitNew.cpp
r4bc4b4c r37273c8 74 74 fname, 75 75 std::move(typeParams), 76 {}, 76 77 {dstParam}, 77 78 {}, … … 899 900 900 901 // void __objName_dtor_atexitN(...) {...} 901 ast::FunctionDecl * dtorCaller = new ast::FunctionDecl(loc, objDecl->mangleName + dtorCallerNamer.newName(), {}, {}, {}, new ast::CompoundStmt(loc, {dtor}), ast::Storage::Static, ast::Linkage::C );902 ast::FunctionDecl * dtorCaller = new ast::FunctionDecl(loc, objDecl->mangleName + dtorCallerNamer.newName(), {}, {}, {}, {}, new ast::CompoundStmt(loc, {dtor}), ast::Storage::Static, ast::Linkage::C ); 902 903 dtorCaller->fixUniqueId(); 903 904 // dtorCaller->stmts->push_back( dtor );
Note: See TracChangeset
for help on using the changeset viewer.