summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-17 21:31:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-17 21:31:46 +0100
commit27b45cc23c7b8ea8a62e1fc901279fb3f09ae274 (patch)
tree745b5ca3bf79d97f13c76f00188a3556d0ced906 /compilerplugins/clang
parente0080a60ac2fb0a57cbf1ecbeda250e37d8b402e (diff)
Work around loplguins:badstatics
Change-Id: I597dbc3e4288acb5b71f7a344ae78ba568451614
Diffstat (limited to 'compilerplugins/clang')
-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 03f0a27babaf..942b331f1749 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;