remove leftover debug dump() calls

Change-Id: Ic3c854c831b5b9507e2f1a691adf6a2269b3875b
This commit is contained in:
Noel Grandin
2019-04-12 15:16:43 +02:00
parent 73e7db91ba
commit 39f6b78a74

View File

@@ -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))