summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/compat.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-02-29 09:35:30 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-02-29 09:37:33 +0100
commit4fe23a797291dbf582925ace1392772577506c4e (patch)
tree880898f87138ed0a88d93cf83065362a9d077ad0 /compilerplugins/clang/compat.hxx
parentsvx: remove unused SdrModel::getLibreOfficeKitCallback() (diff)
downloadcore-4fe23a797291dbf582925ace1392772577506c4e.tar.gz
core-4fe23a797291dbf582925ace1392772577506c4e.zip
compilerplugins: fix clang-3.7 build
Change-Id: I2d845d3e008cec085ce2b355c9a058363bd021cb
Diffstat (limited to 'compilerplugins/clang/compat.hxx')
-rw-r--r--compilerplugins/clang/compat.hxx6
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;