summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-06 08:54:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-06 09:13:25 +0000
commitc9c3cb5446bfeb621d5fee5d50d19c8e030e3087 (patch)
tree4d563d16c2d35e153dcab833de7ad87e5a2e6620 /compilerplugins
parentd8a1059ef2270681861da183ce486b636c07a4b7 (diff)
loplugin:unusedenumconstants in connectivity..cui
Convert ExpressionFunct to scoped enum and drop FUNC_CONST value. Convert MQueryExpressionBase::node_type to scoped enum and drop Unknown value. Dop PageType::Color value Change-Id: Icb1f5503c230fb91329acc7d9e1da665fa28d95e Reviewed-on: https://gerrit.libreoffice.org/33948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rwxr-xr-xcompilerplugins/clang/unusedenumconstants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py
index 89c35db1cf00..03b907137c67 100755
--- a/compilerplugins/clang/unusedenumconstants.py
+++ b/compilerplugins/clang/unusedenumconstants.py
@@ -90,6 +90,7 @@ for d in definitionSet:
"sw/source/filter/ww8/fields.hxx",
"vcl/source/fontsubset/cff.cxx",
"include/vcl/settings.hxx", # stored in a setting, can't remove it without potentially triggering UBSAN
+ "basic/source/inc/opcodes.hxx", # can't touch this without breaking unit tests, not sure why
# unit test code
"cppu/source/uno/check.cxx",
# general weird nonsense going on