summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-29 10:58:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-29 10:58:50 +0100
commit2849775c796197ba4707fdd7de9822bb3307391a (patch)
tree2dcd05c5b72ad04ec9b636a22c5c4a7c687a58dd
parent33afa0f0bd49bd2984bb05b11b919e1050bac8f6 (diff)
TODO: silence new loplugin:badstatics for now
Change-Id: Ia57dd190a173f664b0c624617b13f2876008835a
-rw-r--r--compilerplugins/clang/badstatics.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 3b375311b5bf..17cbb0d8e2ba 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -213,6 +213,12 @@ public:
{
return true;
}
+ //TODO: Ignore for now to unbreak the build post
+ // d516c5c9819dcd7dc6dded2f8f9d9e44061b23c0 "lokdialog: Move the LOKWindowId <->
+ // VclPtr<Window> mapping to Window":
+ if (name == "sLOKWindows") { // vcl/source/window/window.cxx
+ return true;
+ }
// ignore pointers, nothing happens to them on shutdown
QualType const pCanonical(pVarDecl->getType().getUnqualifiedType().getCanonicalType());
if (pCanonical->isPointerType()) {