[Libreoffice-commits] core.git: compilerplugins/clang
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 4 14:12:51 UTC 2020
compilerplugins/clang/unusedfields.cxx | 10 ----------
1 file changed, 10 deletions(-)
New commits:
commit 01b96fcefe5c8d9a7078b24b26134278b89f3f12
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Aug 4 13:12:09 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Aug 4 16:12:06 2020 +0200
remove some debug code
Change-Id: I6aff84ce7b9d4fed27d8442d1366bcf14bc44f86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100084
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx
index 6bbb35930696..7a8df9939d02 100644
--- a/compilerplugins/clang/unusedfields.cxx
+++ b/compilerplugins/clang/unusedfields.cxx
@@ -1152,16 +1152,6 @@ void UnusedFields::checkTouchedFromOutside(const FieldDecl* fieldDecl, const Exp
// it's touched from somewhere outside a class
if (!methodDecl) {
- if (fieldDecl->getName() == "m_pShell")
- {
- if (memberExprParentFunction)
- memberExprParentFunction->dump();
- memberExpr->dump();
- const Decl *decl = loplugin::getFunctionDeclContext(compiler.getASTContext(), memberExpr);
- if (decl)
- decl->dump();
- std::cout << "site1" << std::endl;
- }
touchedFromOutsideSet.insert(fieldInfo);
return;
}
More information about the Libreoffice-commits
mailing list