loplugin:unusedfields improve write-only when dealing with operators

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 21 February 2019 11:04 EST

Change-Id: I3a060d94de7c3d77a54e7f7f87bef88458ab5161 Reviewed-on: https://gerrit.libreoffice.org/68132

5febdea1d1e5 loplugin:unusedfields improve write-only when dealing with operators
compilerplugins/clang/test/unusedfields.cxx | 24 +
compilerplugins/clang/unusedfields.cxx | 64 +-
.../unusedfields.only-used-in-constructor.results | 174 ++--
.../clang/unusedfields.readonly.results | 182 ++---
.../clang/unusedfields.untouched.results | 190 +++--
.../clang/unusedfields.writeonly.results | 886 +++++++++++++++++++--
6 files changed, 1145 insertions(+), 375 deletions(-)

Upstream: cgit.freedesktop.org


  • Share