[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 17 21:36:38 UTC 2020
compilerplugins/clang/reservedid.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e27f6852d20e2c49ca6609ccc6f6a5107cc919e3
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Dec 17 20:24:57 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Dec 17 22:36:08 2020 +0100
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 <sbergman at redhat.com>
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;
}
More information about the Libreoffice-commits
mailing list