summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedenumconstants.py
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-20 11:44:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-20 12:23:59 +0000
commit408c0a7693316f0e23080be52db9bef720ed2cb4 (patch)
treea5beddbd132e0818ed5a3a978bca57bb521b1ac3 /compilerplugins/clang/unusedenumconstants.py
parent2009cf1b1c50976abd7714a2fc11046e12da8da7 (diff)
convert StringType to scoped enum
and drop unused FormulaValue enumerator Change-Id: Ide6026b841db224947d7d559c110dfc7da3cd975 Reviewed-on: https://gerrit.libreoffice.org/34467 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/unusedenumconstants.py')
-rwxr-xr-xcompilerplugins/clang/unusedenumconstants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py
index 089927e02e45..4404081b6b64 100755
--- a/compilerplugins/clang/unusedenumconstants.py
+++ b/compilerplugins/clang/unusedenumconstants.py
@@ -116,6 +116,7 @@ def is_ignore(srcLoc):
"codemaker/source/javamaker/classfile.hxx", # AccessFlags
"basic/source/inc/filefmt.hxx", # FileOffset
"basic/source/inc/opcodes.hxx", # SbiOpcode
+ "sc/source/filter/inc/flttypes.hxx", # BiffTyp
# unit test code
"cppu/source/uno/check.cxx",
# general weird nonsense going on
@@ -145,6 +146,8 @@ def is_ignore(srcLoc):
"connectivity/source/inc/odbc/OTools.hxx", # ODBC3SQLFunctionId
"include/formula/grammar.hxx", # FormulaGrammar::Grammar
"basic/source/sbx/sbxres.hxx", # StringId
+ "sc/source/core/tool/chartpos.cxx", # CellState
+ "sc/source/core/data/global2.cxx", # State
# Windows or OSX only
"include/canvas/rendering/icolorbuffer.hxx",
"include/vcl/commandevent.hxx",