[Libreoffice-commits] core.git: compilerplugins/clang
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 12 13:35:39 UTC 2019
compilerplugins/clang/sequentialassign.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 39f6b78a748cfdfe7a2b5d897f70dba3ed8c4102
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Apr 12 15:16:43 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Apr 12 15:19:41 2019 +0200
remove leftover debug dump() calls
Change-Id: Ic3c854c831b5b9507e2f1a691adf6a2269b3875b
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))
More information about the Libreoffice-commits
mailing list