From 3b7a86abf28dcc2400a691200b0ea11ee5a9e537 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Oct 2021 15:37:08 +0200 Subject: loplugin:constmethod Change-Id: I56af10be5f1155db4c7f2190495fe036a9b4236a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123054 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/constmethod.cxx | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/constmethod.cxx b/compilerplugins/clang/constmethod.cxx index fc3e92bf709c..da5a64aea9b4 100644 --- a/compilerplugins/clang/constmethod.cxx +++ b/compilerplugins/clang/constmethod.cxx @@ -51,7 +51,31 @@ public: || loplugin::hasPathnamePrefix(fn, SRCDIR "/svl/source/numbers/zforscan.cxx") || loplugin::hasPathnamePrefix(fn, SRCDIR "/svl/source/numbers/zforlist.cxx") || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/source/gdi/impgraph.cxx") - || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/source/image/ImplImage.cxx")) + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/source/image/ImplImage.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/source/filter/wmf/wmfwr.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/unx/generic/app/i18n_im.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/unx/generic/app/randrwrapper.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/unx/gtk3/gtkinst.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/unx/gtk3/gtkframe.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/skia/gdiimpl.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt5/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/package/source/xstor/owriteablestream.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/package/source/zippackage/ZipPackage.cxx") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/toolkit/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/canvas/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/accessibility/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/framework/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/basic/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/sfx2/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/xmloff/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/connectivity/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/editeng/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/scripting/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/ucb/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/svx/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/basctl/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/chart2/") + ) return; TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); -- cgit