compilerplugins/clang/badstatics.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 45129b0a204fc2a40b2d071cc6c9f36d027c3242
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Jun 30 21:14:45 2016 +0200

    loplugin:badstatics: new static only found with libc++
    
    Change-Id: I93f12629fe6aa4bddae7379a5a7ac4f4c42c7923

diff --git a/compilerplugins/clang/badstatics.cxx 
b/compilerplugins/clang/badstatics.cxx
index 12e6b93..7f09dbc 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to