Changes in src/InitTweak/FixInitNew.cpp [37273c8:0bd3faf]
- File:
-
- 1 edited
-
src/InitTweak/FixInitNew.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInitNew.cpp
r37273c8 r0bd3faf 74 74 fname, 75 75 std::move(typeParams), 76 {},77 76 {dstParam}, 78 77 {}, … … 900 899 901 900 // void __objName_dtor_atexitN(...) {...} 902 ast::FunctionDecl * dtorCaller = new ast::FunctionDecl(loc, objDecl->mangleName + dtorCallerNamer.newName(), {}, {}, {}, {},new ast::CompoundStmt(loc, {dtor}), ast::Storage::Static, ast::Linkage::C );901 ast::FunctionDecl * dtorCaller = new ast::FunctionDecl(loc, objDecl->mangleName + dtorCallerNamer.newName(), {}, {}, {}, new ast::CompoundStmt(loc, {dtor}), ast::Storage::Static, ast::Linkage::C ); 903 902 dtorCaller->fixUniqueId(); 904 903 // dtorCaller->stmts->push_back( dtor );
Note:
See TracChangeset
for help on using the changeset viewer.