diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-18 14:57:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-23 13:51:18 +0200 |
commit | c4bce5dafdfcb97586fab4bc3834daa6a27fec4c (patch) | |
tree | b7143868f8ba67936fdf2e7227883789b210faaf /solenv | |
parent | 413956ae4c1e833d7ecb6e3695bcdec92533c2ce (diff) |
resurrect and improve loplugin:referencecasting
Improve the plugin to avoid generating false+ with the special case of
querying XInterface (what the code calls normalisation).
Also ignore places where the querying is dealing with ambiguous base
classes.
Change-Id: I23b2b2fa6618328fafc4707b94c26582a462ea87
Reviewed-on: https://gerrit.libreoffice.org/74993
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 c3a9054a6931..d70c41faead6 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -48,6 +48,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/redundantinline \ compilerplugins/clang/test/redundantpointerops \ compilerplugins/clang/test/refcounting \ + compilerplugins/clang/test/referencecasting \ compilerplugins/clang/test/salbool \ compilerplugins/clang/test/salcall \ compilerplugins/clang/test/sallogareas \ |