summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-22 13:20:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-22 13:24:09 +0200
commitf29389f1b150bf96681ddb0fff47c7967109c37d (patch)
tree415bcf94c7df6490e2d5e55b01b2deca62b0c277 /compilerplugins
parentf8f8cfff0d5805cdbbc088ca66b42fd96f2a32b7 (diff)
loplugin:staticvar ignore this case for now
Change-Id: Ic0e5e113ff16dbb3fb246c52f5a2fee8d9f52304
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/staticvar.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/compilerplugins/clang/staticvar.cxx b/compilerplugins/clang/staticvar.cxx
index 37156a283c33..b9069b5de61f 100644
--- a/compilerplugins/clang/staticvar.cxx
+++ b/compilerplugins/clang/staticvar.cxx
@@ -79,7 +79,10 @@ public:
|| fn == SRCDIR "/sw/source/filter/ww8/ww8par6.cxx"
// this only triggers on older versions of clang, not sure why
// in any case, it is actually about the array in vcl/inc/units.hrc, which we can't change
- || fn == SRCDIR "/vcl/source/app/svdata.cxx")
+ || fn == SRCDIR "/vcl/source/app/svdata.cxx"
+ // I tried doing this, but got very weird unit test failures, apparently sorting this table
+ // disturbs some code elsewhere
+ || fn == SRCDIR "/svx/source/unodraw/unoprov.cxx")
return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}