summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-17 20:24:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-17 22:36:08 +0100
commite27f6852d20e2c49ca6609ccc6f6a5107cc919e3 (patch)
tree7ccb3d32817f4896de2db86a2916608c5c700544 /compilerplugins
parentd6774abbd3eddbf3a6655c57a880f4e28d0cb74a (diff)
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@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/reservedid.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}