diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-08 22:11:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-09 08:25:30 +0200 |
commit | f2517e82904b92989ed7e38a070c18234f460b33 (patch) | |
tree | 2b9bb63f3865670ad250f9fd706a577d1696d88f /solenv | |
parent | 1159f58831c69680e9f10767d5358e13b66579dd (diff) |
improve loplugin:unusedvarsglobal
to find any global variable, was checking the wrong property of
VarDecl
Change-Id: I454b4e0c1701bb0771768a1ee10cd738c4ab0726
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102278
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 453bf43af9ac..46d090781d58 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -103,6 +103,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/unusedmember \ compilerplugins/clang/test/unusedvariablecheck \ compilerplugins/clang/test/unusedvariablemore \ + compilerplugins/clang/test/unusedvarsglobal \ compilerplugins/clang/test/useuniqueptr \ compilerplugins/clang/test/vclwidgets \ compilerplugins/clang/test/weakbase \ |