summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/badstatics.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-30 21:14:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-30 21:14:45 +0200
commit45129b0a204fc2a40b2d071cc6c9f36d027c3242 (patch)
treeb0807b077097c0a53713c16144bd1e9457c8c0f1 /compilerplugins/clang/badstatics.cxx
parent4fbd96f6b34244bc274f2471474f9bacf2d6f4c1 (diff)
loplugin:badstatics: new static only found with libc++
Change-Id: I93f12629fe6aa4bddae7379a5a7ac4f4c42c7923
Diffstat (limited to 'compilerplugins/clang/badstatics.cxx')
-rw-r--r--compilerplugins/clang/badstatics.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 12e6b931b3c6..7f09dbc910a0 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -150,6 +150,9 @@ public:
// ScAddInAsync* keys if that set is not empty at exit
|| name == "g_aWindowList"
//vcl/unx/gtk/a11y/atkutil.cxx, asserted empty at exit
+ || name=="aViewMap"
+ // sfx2/source/view/lokhelper.cxx, not owning, leaked by
+ // (mis-)design
) // these variables appear unproblematic
{
return true;