Changes in src/InitTweak/FixInit.cpp [ca9d65e:83fd57d]
- File:
-
- 1 edited
-
src/InitTweak/FixInit.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cpp
rca9d65e r83fd57d 1057 1057 ) 1058 1058 if ( ! diff.empty() ) { 1059 SemanticError( stmt->location, "jump to label \"%s\" crosses initialization of \"%s\".", 1060 stmt->target.name.c_str(), (*diff.begin())->name.c_str() ); 1059 SemanticError( stmt, std::string("jump to label '") + stmt->target.name + "' crosses initialization of " + (*diff.begin())->name + " " ); 1061 1060 } // if 1062 1061 } … … 1077 1076 1078 1077 bool checkWarnings( const ast::FunctionDecl * funcDecl ) { 1079 // only check for warnings if the current function is a user-defined constructor or destructor 1078 // only check for warnings if the current function is a user-defined 1079 // constructor or destructor 1080 1080 if ( ! funcDecl ) return false; 1081 1081 if ( ! funcDecl->stmts ) return false;
Note:
See TracChangeset
for help on using the changeset viewer.