[Libreoffice-commits] core.git: compilerplugins/clang

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Feb 12 07:54:51 UTC 2019


 compilerplugins/clang/indentation.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit a072b15e96c6b7342bf785df0404ed46bfb32ffb
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Feb 12 08:54:19 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Feb 12 08:54:19 2019 +0100

    More loplugin:indentation Qt "emit" hackery
    
    Change-Id: I6f71546a5f6ab07bb4df6fc89213962e74984c84

diff --git a/compilerplugins/clang/indentation.cxx b/compilerplugins/clang/indentation.cxx
index 362ad11583bf..f8330c622d30 100644
--- a/compilerplugins/clang/indentation.cxx
+++ b/compilerplugins/clang/indentation.cxx
@@ -50,7 +50,8 @@ public:
         if (fn == SRCDIR "/binaryurp/source/bridge.cxx")
             return;
         // the QEMIT macros
-        if (loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt5/"))
+        if (loplugin::hasPathnamePrefix(fn, SRCDIR "/vcl/qt5/")
+            || loplugin::isSamePathname(fn, SRCDIR "/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx"))
             return;
         TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
     }


More information about the Libreoffice-commits mailing list