diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-03-22 11:08:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-03-22 14:15:52 +0100 |
commit | 721c4faa50d12bb5bbff27cb9fb0c3beca8a5886 (patch) | |
tree | 19b038b57dab3879c40868820291ce0e7ca950d2 /compilerplugins | |
parent | 215cbf1ad23399cb035781698aa28d1eabdb6489 (diff) |
Adapt loplugin:indentation to --enable-qt6
> In file included from vcl/qt6/QtClipboard.cxx:10:
> vcl/qt6/../qt5/QtClipboard.cxx:142:16: error: statement mis-aligned compared to neighbours [loplugin:indentation]
> Q_EMIT clearClipboard();
> ^
etc.
Change-Id: I8ceacfd5eafe963699d8313d3f8cadbed4ccd260
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131929
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/indentation.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/indentation.cxx b/compilerplugins/clang/indentation.cxx index 9ac5f3d7e521..cf2512d1d25d 100644 --- a/compilerplugins/clang/indentation.cxx +++ b/compilerplugins/clang/indentation.cxx @@ -51,6 +51,7 @@ public: return false; // the QEMIT macros if (loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt5/") + || loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt6/") || loplugin::isSamePathname(fn, SRCDIR "/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx")) return false; return true; |