From 39f6b78a748cfdfe7a2b5d897f70dba3ed8c4102 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 12 Apr 2019 15:16:43 +0200 Subject: [PATCH] remove leftover debug dump() calls Change-Id: Ic3c854c831b5b9507e2f1a691adf6a2269b3875b --- compilerplugins/clang/sequentialassign.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/compilerplugins/clang/sequentialassign.cxx b/compilerplugins/clang/sequentialassign.cxx index bc674694f8f1..7774ce887b12 100644 --- a/compilerplugins/clang/sequentialassign.cxx +++ b/compilerplugins/clang/sequentialassign.cxx @@ -205,7 +205,6 @@ void SequentialAssign::checkForSecondAssign(Stmt const* firstStmt, Stmt const* s if (auto declRefExprLHS = dyn_cast(ignore(operatorCall->getArg(0)))) if (declRefExprLHS->getDecl() == varDecl) { - firstStmt->dump(); report(DiagnosticsEngine::Warning, "simplify by merging with the preceding assignment", compat::getBeginLoc(stmt)) @@ -222,7 +221,6 @@ void SequentialAssign::checkForSecondAssign(Stmt const* firstStmt, Stmt const* s if (auto declRefExpr = dyn_cast(ignore(binaryOp->getLHS()))) if (declRefExpr->getDecl() == varDecl) { - firstStmt->dump(); report(DiagnosticsEngine::Warning, "simplify by merging with the preceding assignment", compat::getBeginLoc(stmt))