[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Thu Jun 30 19:15:15 UTC 2016


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

New commits:
commit 45129b0a204fc2a40b2d071cc6c9f36d027c3242
Author: Stephan Bergmann <sbergman at 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;


More information about the Libreoffice-commits mailing list