Kaydet (Commit) 4fe23a79 authored tarafından Miklos Vajna's avatar Miklos Vajna

compilerplugins: fix clang-3.7 build

Change-Id: I2d845d3e008cec085ce2b355c9a058363bd021cb
üst 5d54dd64
...@@ -82,7 +82,7 @@ inline bool forallBases( ...@@ -82,7 +82,7 @@ inline bool forallBases(
void* callbackParam, void* callbackParam,
bool AllowShortCircuit) bool AllowShortCircuit)
{ {
#if CLANG_VERSION >= 30700 #if CLANG_VERSION >= 30800
(void) callbackParam; (void) callbackParam;
return decl.forallBases(BaseMatches, AllowShortCircuit); return decl.forallBases(BaseMatches, AllowShortCircuit);
#else #else
...@@ -157,7 +157,7 @@ inline clang::QualType getParamType( ...@@ -157,7 +157,7 @@ inline clang::QualType getParamType(
inline clang::Stmt::const_child_iterator begin( inline clang::Stmt::const_child_iterator begin(
clang::Stmt::const_child_range const & range) clang::Stmt::const_child_range const & range)
{ {
#if CLANG_VERSION >= 30700 #if CLANG_VERSION >= 30800
return range.begin(); return range.begin();
#else #else
return range.first; return range.first;
...@@ -167,7 +167,7 @@ inline clang::Stmt::const_child_iterator begin( ...@@ -167,7 +167,7 @@ inline clang::Stmt::const_child_iterator begin(
inline clang::Stmt::const_child_iterator end( inline clang::Stmt::const_child_iterator end(
clang::Stmt::const_child_range const & range) clang::Stmt::const_child_range const & range)
{ {
#if CLANG_VERSION >= 30700 #if CLANG_VERSION >= 30800
return range.end(); return range.end();
#else #else
return range.second; return range.second;
......
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