summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-22 11:11:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-23 11:22:59 +0200
commit4e512171c21a193027c35d19a5273507a2725596 (patch)
treee0c354208a355c22f0e0ba9639b10a1010b2a52f /compilerplugins
parent58ddacdb4be78dd00e05a46459ed0bcbe7531632 (diff)
no need to allocate these static vars on demand
the constructor can be laid out at compile/link time Change-Id: I377a537e15199ae81394d76ac662576280a25c25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119362 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/badstatics.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 0856d8faac39..1c6a2f2998f3 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -222,6 +222,8 @@ public:
// sfx2/source/doc/docfile.cxx, warning about map's key
|| name == "g_existingReadOnlyDocs"
// 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
) // these variables appear unproblematic
{
return true;