diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-19 13:44:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 07:49:27 +0200 |
commit | 3b60f59bc55824e247f6e751a9c8f5d253665f0b (patch) | |
tree | 2cf8a2565d50703565f15d03c7ca68de30421822 /solenv | |
parent | 42ab759336cd4a4cbcc5be66de33d05b7fc46be4 (diff) |
loplugin:unusedfields fix false positive
When the field in question is read from inside a constructor
initializer.
In the process, create some needed infrastructure in the plugin classes.
Change-Id: I2f440efa6912801a236727c9fe3180404616958c
Reviewed-on: https://gerrit.libreoffice.org/38960
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/CompilerTest_compilerplugins_clang.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/CompilerTest_compilerplugins_clang.mk b/solenv/CompilerTest_compilerplugins_clang.mk index 4e65a684efd4..3de8b08b1cf7 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -27,6 +27,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/stringconstant \ compilerplugins/clang/test/unnecessaryoverride-dtor \ compilerplugins/clang/test/unoany \ + compilerplugins/clang/test/unusedfields \ compilerplugins/clang/test/useuniqueptr \ compilerplugins/clang/test/vclwidgets \ )) |