summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedenumconstants.py
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 13:45:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-17 07:52:09 +0200
commitf1421a3e12167fafc966d069b3a4f7eb84ffda05 (patch)
tree478c783517a88afdcc238fe95eda06e57fa61a3f /compilerplugins/clang/unusedenumconstants.py
parentfb4bf693999b8a1ebf79bad0d223ae2d4398cf81 (diff)
convert SbxNameType to scoped enum
and drop unused enumerators Change-Id: I2b47828b2146fcda335f1dc1c1f61a1139abbe19
Diffstat (limited to 'compilerplugins/clang/unusedenumconstants.py')
-rwxr-xr-xcompilerplugins/clang/unusedenumconstants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py
index ec7e73202170..8188c5a677f7 100755
--- a/compilerplugins/clang/unusedenumconstants.py
+++ b/compilerplugins/clang/unusedenumconstants.py
@@ -114,6 +114,7 @@ for d in definitionSet:
"sd/source/filter/eppt/epptbase.hxx", # PPTExTextAttr
"sc/source/filter/inc/tokstack.hxx", # E_TYPE
"filter/source/graphicfilter/icgm/cgmtypes.hxx",
+ ":basic/source/inc/filefmt.hxx", # FileOffset
# unit test code
"cppu/source/uno/check.cxx",
# general weird nonsense going on
@@ -137,6 +138,9 @@ for d in definitionSet:
"cppcanvas/source/mtfrenderer/emfpbrush.hxx", # EmfPlusHatchStyle
"include/filter/msfilter/svdfppt.hxx", # PptPlaceholder, PptSlideLayout
"include/filter/msfilter/escherex.hxx", # various
+ "basic/source/inc/opcodes.hxx", # SbiOpcode
+ "basic/source/inc/token.hxx", # SbiToken
+ "binaryurp/source/specialfunctionids.hxx", # binaryurp::SpecialFunctionIds
# Windows or OSX only
"include/canvas/rendering/icolorbuffer.hxx",
"include/vcl/commandevent.hxx",
@@ -170,6 +174,7 @@ for d in definitionSet:
"cui/source/tabpages/tparea.cxx", # FillType (from UI)
"include/editeng/svxenum.hxx", # css::style::NumberingType
"include/editeng/bulletitem.hxx", # css::style::NumberingType
+ ":basic/source/sbx/sbxdec.hxx", # SbxDecimal::CmpResult, must match some Windows API
# represents constants from an external API
"opencl/inc/opencl_device_selection.h",
"vcl/inc/sft.hxx",