compilerplugins/clang/compat.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 63be55de0223e4cbfcf3bcb180dfb6cd2156e61d Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Sun May 26 13:49:23 2019 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon May 27 08:47:59 2019 +0200 fix clang version check As 56f87dac69b4 says, this is about clang 9, not clang 8. Change-Id: I2978d2235c7eb3ad438082f7b08a1bd68977ed6f Reviewed-on: https://gerrit.libreoffice.org/72974 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index bdbcdcb46f0b..64ee9a8fd265 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -241,7 +241,7 @@ inline const clang::Expr *getSubExprAsWritten(const clang::CastExpr *This) { } inline bool isExplicitSpecified(clang::CXXConstructorDecl const * decl) { -#if CLANG_VERSION >= 80000 +#if CLANG_VERSION >= 90000 return decl->getExplicitSpecifier().isExplicit(); #else return decl->isExplicitSpecified(); @@ -249,7 +249,7 @@ inline bool isExplicitSpecified(clang::CXXConstructorDecl const * decl) { } inline bool isExplicitSpecified(clang::CXXConversionDecl const * decl) { -#if CLANG_VERSION >= 80000 +#if CLANG_VERSION >= 90000 return decl->getExplicitSpecifier().isExplicit(); #else return decl->isExplicitSpecified(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits