compilerplugins/clang/unusedfields.cxx | 10 ---------- 1 file changed, 10 deletions(-)
New commits: commit 01b96fcefe5c8d9a7078b24b26134278b89f3f12 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Aug 4 13:12:09 2020 +0200 Commit: Noel Grandin <noel.gran...@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.gran...@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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits