diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-07 12:50:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-08 06:50:24 +0100 |
commit | 74f884d48ed27e1ce861620a57802ad156a86d15 (patch) | |
tree | b3c467e4add03b7a4d0622c13900df4f3ab39692 /solenv | |
parent | c049ac6503c0f0f6bb7170b68c19ccb400c525f7 (diff) |
new loplugin:fieldcast
new plugin to look for class fields that are always cast to some
subtype, which indicates that they should probably just be declared to
be that subtype.
Perform one of the suggested improvements in xmlsecurity/
Change-Id: Ia68df422c37f05cbcf9c02ba5d0853f8eca4f120
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159063
Tested-by: Jenkins
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 dff61e873af4..95044e47758c 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -35,6 +35,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/external \ compilerplugins/clang/test/faileddyncast \ compilerplugins/clang/test/fakebool \ + compilerplugins/clang/test/fieldcast \ compilerplugins/clang/test/flatten \ compilerplugins/clang/test/fragiledestructor \ compilerplugins/clang/test/getstr \ |