Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cpp

    r0bf03ba2 r446dde5  
    697697        assert( stmtExpr->result );
    698698        if ( stmtExpr->result->isVoid() ) {
    699                 assert( stmtExpr->returnDecls.empty() );
    700                 assert( stmtExpr->dtors.empty() );
    701 
    702699                return stmtExpr;
    703700        }
     
    747744        // if there is a return decl, add a use as the last statement; will not have return decl on non-constructable returns
    748745        stmts.push_back( new ast::ExprStmt(loc, new ast::VariableExpr(loc, ret ) ) );
    749 
    750         assert( stmtExpr->returnDecls.empty() );
    751         assert( stmtExpr->dtors.empty() );
    752746
    753747        return stmtExpr;
Note: See TracChangeset for help on using the changeset viewer.