From e27f6852d20e2c49ca6609ccc6f6a5107cc919e3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 17 Dec 2020 20:24:57 +0100 Subject: Various minor loplugin fixes (macOS ARM64), redux Change-Id: I720dde70c6f6ca6c25d7b430f117ea578a25f34e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107922 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- compilerplugins/clang/reservedid.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compilerplugins/clang/reservedid.cxx b/compilerplugins/clang/reservedid.cxx index 2b7a69d54da7..3f019a10d830 100644 --- a/compilerplugins/clang/reservedid.cxx +++ b/compilerplugins/clang/reservedid.cxx @@ -145,7 +145,7 @@ bool ReservedId::VisitNamedDecl(NamedDecl const * decl) { } auto filename = getFilenameOfLocation(spelLoc); if (loplugin::hasPathnamePrefix(filename, SRCDIR "/bridges/source/cpp_uno/") - && filename.endswith("share.hxx")) + && (filename.endswith("abi.hxx") || filename.endswith("share.hxx"))) { return true; } -- cgit