Ignore:
Timestamp:
Dec 16, 2023, 1:01:44 AM (22 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
b7898ac
Parents:
0fa0201d (diff), 69ab896 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cpp

    r0fa0201d r5546eee4  
    10571057        )
    10581058        if ( ! diff.empty() ) {
    1059                 SemanticError( stmt, std::string("jump to label '") + stmt->target.name + "' crosses initialization of " + (*diff.begin())->name + " " );
     1059                SemanticError( stmt->location, "jump to label \"%s\" crosses initialization of \"%s\".",
     1060                                           stmt->target.name.c_str(), (*diff.begin())->name.c_str() );
    10601061        } // if
    10611062}
     
    10761077
    10771078bool checkWarnings( const ast::FunctionDecl * funcDecl ) {
    1078         // only check for warnings if the current function is a user-defined
    1079         // constructor or destructor
     1079        // only check for warnings if the current function is a user-defined constructor or destructor
    10801080        if ( ! funcDecl ) return false;
    10811081        if ( ! funcDecl->stmts ) return false;
Note: See TracChangeset for help on using the changeset viewer.