Changeset fa761c2 for src/InitTweak


Ignore:
Timestamp:
Nov 1, 2023, 10:40:54 AM (2 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
be3f163
Parents:
6e7ed0aa
Message:

Changed some new uses of UniqueId to the ast version. Changed where some debugging variables are stored.

Location:
src/InitTweak
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    r6e7ed0aa rfa761c2  
    5858#include "Validate/FindSpecialDecls.h" // for dtorStmt, dtorStructDestroy
    5959
    60 bool ctordtorp = false; // print all debug
    61 bool ctorp = false; // print ctor debug
    62 bool cpctorp = false; // print copy ctor debug
    63 bool dtorp = false; // print dtor debug
     60extern bool ctordtorp; // print all debug
     61extern bool ctorp; // print ctor debug
     62extern bool cpctorp; // print copy ctor debug
     63extern bool dtorp; // print dtor debug
    6464#define PRINT( text ) if ( ctordtorp ) { text }
    6565#define CP_CTOR_PRINT( text ) if ( ctordtorp || cpctorp ) { text }
  • src/InitTweak/FixInitNew.cpp

    r6e7ed0aa rfa761c2  
    3333#include "SymTab/GenImplicitCall.hpp"  // for genImplicitCall
    3434
    35 extern bool ctordtorp; // print all debug
    36 extern bool ctorp; // print ctor debug
    37 extern bool cpctorp; // print copy ctor debug
    38 extern bool dtorp; // print dtor debug
     35bool ctordtorp = false; // print all debug
     36bool ctorp = false; // print ctor debug
     37bool cpctorp = false; // print copy ctor debug
     38bool dtorp = false; // print dtor debug
    3939#define PRINT( text ) if ( ctordtorp ) { text }
    4040#define CP_CTOR_PRINT( text ) if ( ctordtorp || cpctorp ) { text }
Note: See TracChangeset for help on using the changeset viewer.