summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-08 10:40:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-08 12:42:52 +0000
commit65b7b6322b662785bf032e66c76abc36c9a2bb0e (patch)
tree762d3c233ac4a1d73dc67dd32183f1f4be9b2258 /compilerplugins
parent20915bcbf45b4b0b4bc8c68c7df9eb6b13abbe06 (diff)
loplugin:unusedenumconstants read-only constants in vcl
Change-Id: I8c81444cbecdc103cc47d9a4133b0b4d9010e0c2 Reviewed-on: https://gerrit.libreoffice.org/34018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rwxr-xr-xcompilerplugins/clang/unusedenumconstants.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py
index 50d680e2900e..9acbd49dd116 100755
--- a/compilerplugins/clang/unusedenumconstants.py
+++ b/compilerplugins/clang/unusedenumconstants.py
@@ -99,6 +99,10 @@ for d in definitionSet:
"include/svtools/rtftoken.h",
"sc/source/filter/inc/xltracer.hxx",
"writerfilter/source/dmapper/FieldTypes.hxx",
+ "vcl/source/fontsubset/cff.cxx",
+ "vcl/source/filter/wmf/winmtf.hxx",
+ "vcl/source/filter/sgvmain.hxx",
+ "vcl/source/filter/jpeg/transupp.h",
# unit test code
"cppu/source/uno/check.cxx",
# general weird nonsense going on
@@ -114,6 +118,9 @@ for d in definitionSet:
"include/canvas/rendering/icolorbuffer.hxx",
"include/vcl/commandevent.hxx",
"vcl/inc/unx/gendata.hxx",
+ "vcl/inc/salwtype.hxx",
+ "include/vcl/svapp.hxx",
+ "include/vcl/salbtype.hxx",
# must match some other enum
"include/editeng/bulletitem.hxx",
"include/editeng/svxenum.hxx",
@@ -128,6 +135,7 @@ for d in definitionSet:
"vcl/inc/sft.hxx",
"vcl/inc/unx/XIM.h",
"vcl/unx/gtk/xid_fullscreen_on_all_monitors.c",
+ "vcl/unx/gtk/salnativewidgets-gtk.cxx",
]):
continue