diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-29 21:51:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-29 21:51:35 +0200 |
commit | ded8e74df2ed808177620a6c2458beb6d03fd18d (patch) | |
tree | f4db4b933538787f9803d9e250a3ae616f0b5b3e /compilerplugins | |
parent | bd9988ee969a73690a254fc7e6ada110b8681dc1 (diff) |
loplugin:badstatics: whitelist some more statics
...which use std containers and are only found at all with the libc++ container
implementations, not the libstdc++ ones.
Change-Id: Ic9af06139823befad4af1a9a825cba10c115aceb
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/badstatics.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx index f316b4d47b88..4904e1a31d3e 100644 --- a/compilerplugins/clang/badstatics.cxx +++ b/compilerplugins/clang/badstatics.cxx @@ -142,6 +142,12 @@ public: // sw/source/core/text/blink.cxx, _TextFinit() || name == "s_pIconCache" // sd/source/ui/tools/IconCache.cxx, leaked + || name == "maInstanceMap" + // sd/source/ui/framework/tools/FrameworkHelper.cxx, would + // leak ViewShellBase* keys if that map is not empty at exit + || name == "theAddInAsyncTbl" + // sc/source/core/tool/adiasync.cxx, would leak + // ScAddInAsync* keys if that set is not empty at exit ) // these variables appear unproblematic { return true; |