[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Tue Nov 17 12:32:13 PST 2015
compilerplugins/clang/badstatics.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 27b45cc23c7b8ea8a62e1fc901279fb3f09ae274
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Nov 17 21:31:46 2015 +0100
Work around loplguins:badstatics
Change-Id: I597dbc3e4288acb5b71f7a344ae78ba568451614
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 03f0a27..942b331 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -144,6 +144,8 @@ public:
|| name == "s_pCaptureFrame" // vcl/osx/salframe.cxx, not owning
|| name == "pBlink"
// sw/source/core/text/blink.cxx, _TextFinit()
+ || name == "mpInstance"
+ // sd/source/ui/tools/IconCache.cxx, leaked
) // these variables appear unproblematic
{
return true;
More information about the Libreoffice-commits
mailing list