diff options
Diffstat (limited to 'compilerplugins/clang/compat.hxx')
-rw-r--r-- | compilerplugins/clang/compat.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index 22ed14b45460..0ca37fad982f 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -71,7 +71,7 @@ inline bool forallBases( void* callbackParam, bool AllowShortCircuit) { -#if (__clang_major__ == 3 && __clang_minor__ >= 7) || __clang_major__ > 3 +#if (__clang_major__ == 3 && __clang_minor__ > 7) || __clang_major__ > 3 (void) callbackParam; return decl.forallBases(BaseMatches, AllowShortCircuit); #else @@ -146,7 +146,7 @@ inline clang::QualType getParamType( inline clang::Stmt::const_child_iterator begin( clang::Stmt::const_child_range const & range) { -#if (__clang_major__ == 3 && __clang_minor__ >= 7) || __clang_major__ > 3 +#if (__clang_major__ == 3 && __clang_minor__ > 7) || __clang_major__ > 3 return range.begin(); #else return range.first; @@ -156,7 +156,7 @@ inline clang::Stmt::const_child_iterator begin( inline clang::Stmt::const_child_iterator end( clang::Stmt::const_child_range const & range) { -#if (__clang_major__ == 3 && __clang_minor__ >= 7) || __clang_major__ > 3 +#if (__clang_major__ == 3 && __clang_minor__ > 7) || __clang_major__ > 3 return range.end(); #else return range.second; |