Kaydet (Commit) 63be55de authored tarafından Luboš Luňák's avatar Luboš Luňák Kaydeden (comit) Stephan Bergmann

fix clang version check

As 56f87dac says, this is about clang 9, not clang 8.

Change-Id: I2978d2235c7eb3ad438082f7b08a1bd68977ed6f
Reviewed-on: https://gerrit.libreoffice.org/72974
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 62aaaad1
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment