[Libreoffice-commits] core.git: compilerplugins/clang
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 2 10:07:19 UTC 2021
compilerplugins/clang/badstatics.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d241107b21e5d2bef3cbc408b020a0c8567b9e15
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Sep 2 09:38:17 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Sep 2 12:06:43 2021 +0200
loplugin:badstatics
whitelist another that started showing up when I built clang from recent
trunk
Change-Id: I37cb3a430a72df7e39e1ef8a5cf5f51383b4eaf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121493
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 1c6a2f2998f3..c0f24c54f75a 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -224,6 +224,8 @@ public:
// sfx2/source/doc/docfile.cxx, warning about map's key
|| name == "gaFramesArr_Impl"
// sfx2/source/view/frame.cxx, vector of pointer, so not a problem, nothing is going to happen on shutdown
+ || name == "g_pOLELRU_Cache" || name == "s_aTableColumnsMap"
+ // TODO
) // these variables appear unproblematic
{
return true;
More information about the Libreoffice-commits
mailing list