Changeset fc12f05 for src/InitTweak/FixInitNew.cpp
- Timestamp:
- Nov 13, 2023, 3:43:43 AM (23 months ago)
- Branches:
- master
- Children:
- 25f2798
- Parents:
- 0030b508 (diff), 2174191 (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/FixInitNew.cpp
r0030b508 rfc12f05 33 33 #include "SymTab/GenImplicitCall.hpp" // for genImplicitCall 34 34 35 extern bool ctordtorp; // print all debug36 extern bool ctorp; // print ctor debug37 extern bool cpctorp; // print copy ctor debug38 extern bool dtorp; // print dtor debug35 bool ctordtorp = false; // print all debug 36 bool ctorp = false; // print ctor debug 37 bool cpctorp = false; // print copy ctor debug 38 bool dtorp = false; // print dtor debug 39 39 #define PRINT( text ) if ( ctordtorp ) { text } 40 40 #define CP_CTOR_PRINT( text ) if ( ctordtorp || cpctorp ) { text } … … 178 178 /// (currently by FixInit) 179 179 struct InsertDtors final : public ObjDeclCollector, public ast::WithStmtsToAdd<> { 180 typedef std::list< ObjectDecl * > OrderedDecls;181 typedef std::list< OrderedDecls > OrderedDeclsStack;182 183 180 InsertDtors( ast::Pass<LabelFinder> & finder ) : finder( finder ), labelVars( finder.core.vars ) {} 184 181 … … 194 191 ast::Pass<LabelFinder> & finder; 195 192 LabelFinder::LabelMap & labelVars; 196 OrderedDeclsStack reverseDeclOrder;197 193 }; 198 194
Note:
See TracChangeset
for help on using the changeset viewer.