[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 26 10:29:14 UTC 2019
compilerplugins/clang/indentation.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 27005a72fdac26977498b4efae12f54b6feb3f9a
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Nov 26 09:18:27 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Nov 26 11:28:07 2019 +0100
loplugin:indentation no longer needs to blacklist binaryurp/source/bridge.cxx
...since bfaf25f59352eb81c7f53c741995a82021f4b0ff "Silence
-Werror,-Wunused-variable (clang-cl)" taught it about leading [[maybe_unused]].
Change-Id: I0d3baf66623c50cfb35d3923273fb1129f66213f
Reviewed-on: https://gerrit.libreoffice.org/83728
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/compilerplugins/clang/indentation.cxx b/compilerplugins/clang/indentation.cxx
index 9621ef549bbe..088de1e702d6 100644
--- a/compilerplugins/clang/indentation.cxx
+++ b/compilerplugins/clang/indentation.cxx
@@ -47,9 +47,6 @@ public:
// looks like lex/yacc output
if (fn == SRCDIR "/hwpfilter/source/grammar.cxx")
return false;
- // TODO need to learn to handle attributes like "[[maybe_unused]]"
- if (fn == SRCDIR "/binaryurp/source/bridge.cxx")
- return false;
// the QEMIT macros
if (loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt5/")
|| loplugin::isSamePathname(fn, SRCDIR "/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx"))
More information about the Libreoffice-commits
mailing list