Changeset 35b1bf4 for src/InitTweak
- Timestamp:
- Feb 8, 2017, 9:09:39 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, 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:
- 52c14b3
- Parents:
- fe26fbf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
rfe26fbf r35b1bf4 952 952 std::set_difference( usedUninit.begin(), usedUninit.end(), unhandled.begin(), unhandled.end(), std::inserter( diff, diff.begin() ) ); 953 953 for ( DeclarationWithType * member : diff ) { 954 emit( "in ", CodeGen::gen Type( function->get_functionType(), function->get_name(), false), ", field ", member->get_name(), " used before being constructed" );954 emit( "in ", CodeGen::genPrettyType( function->get_functionType(), function->get_name() ), ", field ", member->get_name(), " used before being constructed" ); 955 955 } 956 956 … … 997 997 } 998 998 } catch ( SemanticError & error ) { 999 emit( "in ", CodeGen::gen Type( function->get_functionType(), function->get_name(), false), ", field ", field->get_name(), " not explicitly ", isCtor ? "constructed" : "destructed", " and no ", isCtor ? "default constructor" : "destructor", " found" );999 emit( "in ", CodeGen::genPrettyType( function->get_functionType(), function->get_name() ), ", field ", field->get_name(), " not explicitly ", isCtor ? "constructed" : "destructed", " and no ", isCtor ? "default constructor" : "destructor", " found" ); 1000 1000 } 1001 1001 }
Note: See TracChangeset
for help on using the changeset viewer.