summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 15:16:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 15:19:41 +0200
commit39f6b78a748cfdfe7a2b5d897f70dba3ed8c4102 (patch)
treef7f7ae23bd197a5a83f018602107189380aaed17 /compilerplugins
parent73e7db91ba006dc9333767de18df2c5057376183 (diff)
remove leftover debug dump() calls
Change-Id: Ic3c854c831b5b9507e2f1a691adf6a2269b3875b
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/sequentialassign.cxx2
1 files changed, 0 insertions, 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<DeclRefExpr>(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<DeclRefExpr>(ignore(binaryOp->getLHS())))
if (declRefExpr->getDecl() == varDecl)
{
- firstStmt->dump();
report(DiagnosticsEngine::Warning,
"simplify by merging with the preceding assignment",
compat::getBeginLoc(stmt))