diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-02 09:38:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-02 12:06:43 +0200 |
commit | d241107b21e5d2bef3cbc408b020a0c8567b9e15 (patch) | |
tree | a2c2360da91e568caf03cae42a0242098e4398ae /compilerplugins/clang/badstatics.cxx | |
parent | 7d0d07ed0f572c99c70d7f4384dfce644cbbf939 (diff) |
loplugin:badstatics
whitelist another that started showing up when I built clang from recent
trunk
Change-Id: I37cb3a430a72df7e39e1ef8a5cf5f51383b4eaf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121493
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/badstatics.cxx')
-rw-r--r-- | compilerplugins/clang/badstatics.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx index 1c6a2f2998f3..c0f24c54f75a 100644 --- a/compilerplugins/clang/badstatics.cxx +++ b/compilerplugins/clang/badstatics.cxx @@ -224,6 +224,8 @@ public: // sfx2/source/doc/docfile.cxx, warning about map's key || name == "gaFramesArr_Impl" // sfx2/source/view/frame.cxx, vector of pointer, so not a problem, nothing is going to happen on shutdown + || name == "g_pOLELRU_Cache" || name == "s_aTableColumnsMap" + // TODO ) // these variables appear unproblematic { return true; |