summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-30 09:10:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-30 21:20:55 +0200
commit40077fe30919494f0ecd04c4620cac2334d3d382 (patch)
tree74bbc75593251353dec6009f76c902ff0adb5813 /solenv
parent0a7c9153b0100db4d216b598969642e10aa52c2e (diff)
new loplugin:stringviewdangle
to find places where string_view is pointing into a temporary String Change-Id: Ib530b36f441e95d83d8f687d40a97516a0806721 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133656 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 123e6951edb3..fc50ca7a672e 100644
--- a/solenv/CompilerTest_compilerplugins_clang.mk
+++ b/solenv/CompilerTest_compilerplugins_clang.mk
@@ -93,6 +93,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \
compilerplugins/clang/test/stringloop \
compilerplugins/clang/test/stringstatic \
compilerplugins/clang/test/stringview \
+ compilerplugins/clang/test/stringviewdangle \
compilerplugins/clang/test/stringviewparam \
compilerplugins/clang/test/stringviewvar \
compilerplugins/clang/test/trivialconstructor \