diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-29 16:08:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-30 10:58:56 +0200 |
commit | 008199ee75ed4edc250270628f6e6cb1677dbbc9 (patch) | |
tree | dc2c46faa050fee4c74a1a7ec2a398273f54c7c1 /compilerplugins | |
parent | da8cf43b4f2af008df231f5e0629c71bd7f2b762 (diff) |
loplugin:constparam in various
Change-Id: I6821a3946f2e8fabf26558a84370c16ac8827fed
Reviewed-on: https://gerrit.libreoffice.org/41721
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/constparams.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/constparams.cxx b/compilerplugins/clang/constparams.cxx index a281d8635900..bac52a422618 100644 --- a/compilerplugins/clang/constparams.cxx +++ b/compilerplugins/clang/constparams.cxx @@ -46,6 +46,7 @@ public: || startswith(fn, WORKDIR "/YaccTarget/unoidl/source/sourceprovider-parser.cxx") // some weird calling through a function pointer || startswith(fn, SRCDIR "/svtools/source/table/defaultinputhandler.cxx") + || startswith(fn, SRCDIR "/sdext/source/pdfimport/test/pdfunzip.cxx") // windows only || startswith(fn, SRCDIR "/basic/source/sbx/sbxdec.cxx") || startswith(fn, SRCDIR "/sfx2/source/doc/syspath.cxx") @@ -493,7 +494,7 @@ bool ConstParams::isPointerOrReferenceToConst(const QualType& qt) { return false; } -loplugin::Plugin::Registration< ConstParams > X("constparams", false); +loplugin::Plugin::Registration< ConstParams > X("constparams", true); } |