[Libreoffice-commits] core.git: compilerplugins/clang
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 22 11:24:36 UTC 2018
compilerplugins/clang/staticvar.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit f29389f1b150bf96681ddb0fff47c7967109c37d
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Oct 22 13:20:44 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Oct 22 13:24:09 2018 +0200
loplugin:staticvar ignore this case for now
Change-Id: Ic0e5e113ff16dbb3fb246c52f5a2fee8d9f52304
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());
}
More information about the Libreoffice-commits
mailing list