summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-04 13:12:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-04 16:12:06 +0200
commit01b96fcefe5c8d9a7078b24b26134278b89f3f12 (patch)
treeedfc7a98d861a5e92ac8cfde3224e69a380212b4 /compilerplugins
parent0086c2df7eadcfafe8378d2520e08e2d6a1e038b (diff)
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@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/unusedfields.cxx10
1 files changed, 0 insertions, 10 deletions
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;
}