remove leftover debug dump() calls
Change-Id: Ic3c854c831b5b9507e2f1a691adf6a2269b3875b
This commit is contained in:
@@ -205,7 +205,6 @@ void SequentialAssign::checkForSecondAssign(Stmt const* firstStmt, Stmt const* s
|
|||||||
if (auto declRefExprLHS = dyn_cast<DeclRefExpr>(ignore(operatorCall->getArg(0))))
|
if (auto declRefExprLHS = dyn_cast<DeclRefExpr>(ignore(operatorCall->getArg(0))))
|
||||||
if (declRefExprLHS->getDecl() == varDecl)
|
if (declRefExprLHS->getDecl() == varDecl)
|
||||||
{
|
{
|
||||||
firstStmt->dump();
|
|
||||||
report(DiagnosticsEngine::Warning,
|
report(DiagnosticsEngine::Warning,
|
||||||
"simplify by merging with the preceding assignment",
|
"simplify by merging with the preceding assignment",
|
||||||
compat::getBeginLoc(stmt))
|
compat::getBeginLoc(stmt))
|
||||||
@@ -222,7 +221,6 @@ void SequentialAssign::checkForSecondAssign(Stmt const* firstStmt, Stmt const* s
|
|||||||
if (auto declRefExpr = dyn_cast<DeclRefExpr>(ignore(binaryOp->getLHS())))
|
if (auto declRefExpr = dyn_cast<DeclRefExpr>(ignore(binaryOp->getLHS())))
|
||||||
if (declRefExpr->getDecl() == varDecl)
|
if (declRefExpr->getDecl() == varDecl)
|
||||||
{
|
{
|
||||||
firstStmt->dump();
|
|
||||||
report(DiagnosticsEngine::Warning,
|
report(DiagnosticsEngine::Warning,
|
||||||
"simplify by merging with the preceding assignment",
|
"simplify by merging with the preceding assignment",
|
||||||
compat::getBeginLoc(stmt))
|
compat::getBeginLoc(stmt))
|
||||||
|
Reference in New Issue
Block a user