Changeset fa761c2
- Timestamp:
- Nov 1, 2023, 10:40:54 AM (14 months ago)
- Branches:
- master
- Children:
- be3f163
- Parents:
- 6e7ed0aa
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
r6e7ed0aa rfa761c2 58 58 #include "Validate/FindSpecialDecls.h" // for dtorStmt, dtorStructDestroy 59 59 60 bool ctordtorp = false; // print all debug61 bool ctorp = false; // print ctor debug62 bool cpctorp = false; // print copy ctor debug63 bool dtorp = false; // print dtor debug60 extern bool ctordtorp; // print all debug 61 extern bool ctorp; // print ctor debug 62 extern bool cpctorp; // print copy ctor debug 63 extern bool dtorp; // print dtor debug 64 64 #define PRINT( text ) if ( ctordtorp ) { text } 65 65 #define CP_CTOR_PRINT( text ) if ( ctordtorp || cpctorp ) { text } -
src/InitTweak/FixInitNew.cpp
r6e7ed0aa rfa761c2 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 } -
src/ResolvExpr/CandidateFinder.cpp
r6e7ed0aa rfa761c2 57 57 58 58 /// Unique identifier for matching expression resolutions to their requesting expression 59 UniqueId globalResnSlot = 0;59 ast::UniqueId globalResnSlot = 0; 60 60 61 61 namespace { … … 686 686 void Finder::inferParameters( CandidateRef & newCand, CandidateList & out ) { 687 687 // Set need bindings for any unbound assertions 688 UniqueId crntResnSlot = 0; // matching ID for this expression's assertions688 ast::UniqueId crntResnSlot = 0; // matching ID for this expression's assertions 689 689 for ( auto & assn : newCand->need ) { 690 690 // skip already-matched assertions -
src/ResolvExpr/SatisfyAssertions.cpp
r6e7ed0aa rfa761c2 51 51 52 52 // in CandidateFinder.cpp; unique ID for assertion satisfaction 53 extern UniqueId globalResnSlot;53 extern ast::UniqueId globalResnSlot; 54 54 55 55 namespace { … … 298 298 if ( !expr->inferred.hasSlots() ) return expr; 299 299 // if ( expr->inferred.mode != ast::Expr::InferUnion::Slots ) return expr; 300 std::vector< UniqueId> missingSlots;300 std::vector<ast::UniqueId> missingSlots; 301 301 // find inferred parameters for resolution slots 302 302 ast::InferredParams * newInferred = new ast::InferredParams(); 303 for ( UniqueId slot : expr->inferred.resnSlots() ) {303 for ( ast::UniqueId slot : expr->inferred.resnSlots() ) { 304 304 // fail if no matching assertions found 305 305 auto it = inferred.find( slot );
Note: See TracChangeset
for help on using the changeset viewer.