Ignore:
Timestamp:
Aug 24, 2016, 12:36:33 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
0555f4b
Parents:
f87408e
Message:

implement warnings for missing struct member constructor calls, remove bad clones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.cc

    rf87408e r79970ed  
    433433        }
    434434
     435        bool isConstructor( const std::string & str ) { return str == "?{}"; }
     436        bool isDestructor( const std::string & str ) { return str == "^?{}"; }
     437        bool isCtorDtor( const std::string & str ) { return isConstructor( str ) || isDestructor( str ); }
    435438}
Note: See TracChangeset for help on using the changeset viewer.