summaryrefslogtreecommitdiffstats
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-04 15:37:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-04 18:19:41 +0200
commit3b7a86abf28dcc2400a691200b0ea11ee5a9e537 (patch)
tree958c06f3601228d3c57959f2465f533d165dea4b /compilerplugins
parentWe need com_sun_star_animations_AnimatePhysics_get_implementation (diff)
downloadcore-3b7a86abf28dcc2400a691200b0ea11ee5a9e537.tar.gz
core-3b7a86abf28dcc2400a691200b0ea11ee5a9e537.zip
loplugin:constmethod
Change-Id: I56af10be5f1155db4c7f2190495fe036a9b4236a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/constmethod.cxx26
1 files changed, 25 insertions, 1 deletions
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());