loplugin:unusedenumconstants ignore common pattern

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 30 November 2018 07:33 EST

Ignore a common pattern that does not introduce any new information, merely removes information.

Change-Id: I37da352c9295ec12b9dac7aad4b4792a6d726b0d Reviewed-on: https://gerrit.libreoffice.org/64255

3b48c9452778 loplugin:unusedenumconstants ignore common pattern
compilerplugins/clang/test/unusedenumconstants.cxx | 22 +
compilerplugins/clang/unusedenumconstants.cxx | 20 +-
compilerplugins/clang/unusedenumconstants.py | 5 +
.../clang/unusedenumconstants.readonly.results | 640 +-------
.../clang/unusedenumconstants.untouched.results | 188 +--
.../clang/unusedenumconstants.writeonly.results | 1544 ++++++++++----------
6 files changed, 897 insertions(+), 1522 deletions(-)

Upstream: cgit.freedesktop.org


  • Share