summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-26 15:20:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-01 12:33:17 +0100
commit11083d1fcfc2dde543c6daddea51b554d032392c (patch)
tree1f6305db0c157f4b5514d012a22ba3e3b16c5f00 /solenv
parent46d3370d6c5a571c3013e3a964e49f0997d4eabf (diff)
new loplugin:staticdynamic
look for places we are dynamic_cast'ing after static_cast'ing, which means the dynamic_cast is a waste of time. Change-Id: Ife11bb675020738040646230bbd038278d84f7f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111631 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/CompilerTest_compilerplugins_clang.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/CompilerTest_compilerplugins_clang.mk b/solenv/CompilerTest_compilerplugins_clang.mk
index dc143526b9e4..6ac27d98d4cf 100644
--- a/solenv/CompilerTest_compilerplugins_clang.mk
+++ b/solenv/CompilerTest_compilerplugins_clang.mk
@@ -80,6 +80,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \
compilerplugins/clang/test/simplifypointertobool \
compilerplugins/clang/test/singlevalfields \
compilerplugins/clang/test/staticconstfield \
+ compilerplugins/clang/test/staticdynamic \
compilerplugins/clang/test/staticvar \
compilerplugins/clang/test/stdfunction \
compilerplugins/clang/test/stringadd \