diff options
Diffstat (limited to 'compilerplugins/clang/compat.hxx')
-rw-r--r-- | compilerplugins/clang/compat.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |