diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-29 09:35:30 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-29 09:37:33 +0100 |
commit | 4fe23a797291dbf582925ace1392772577506c4e (patch) | |
tree | 880898f87138ed0a88d93cf83065362a9d077ad0 /compilerplugins | |
parent | 5d54dd644dc44fb02754bc765a3550c38857ccca (diff) |
compilerplugins: fix clang-3.7 build
Change-Id: I2d845d3e008cec085ce2b355c9a058363bd021cb
Diffstat (limited to 'compilerplugins')
-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 0b451c8f0ac5..6c1152c1fc9b 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -82,7 +82,7 @@ inline bool forallBases( void* callbackParam, bool AllowShortCircuit) { -#if CLANG_VERSION >= 30700 +#if CLANG_VERSION >= 30800 (void) callbackParam; return decl.forallBases(BaseMatches, AllowShortCircuit); #else @@ -157,7 +157,7 @@ inline clang::QualType getParamType( inline clang::Stmt::const_child_iterator begin( clang::Stmt::const_child_range const & range) { -#if CLANG_VERSION >= 30700 +#if CLANG_VERSION >= 30800 return range.begin(); #else return range.first; @@ -167,7 +167,7 @@ inline clang::Stmt::const_child_iterator begin( inline clang::Stmt::const_child_iterator end( clang::Stmt::const_child_range const & range) { -#if CLANG_VERSION >= 30700 +#if CLANG_VERSION >= 30800 return range.end(); #else return range.second; |