[Libreoffice-commits] core.git: compilerplugins/clang

Miklos Vajna vmiklos at collabora.co.uk
Mon Feb 29 08:37:54 UTC 2016


 compilerplugins/clang/compat.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4fe23a797291dbf582925ace1392772577506c4e
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Feb 29 09:35:30 2016 +0100

    compilerplugins: fix clang-3.7 build
    
    Change-Id: I2d845d3e008cec085ce2b355c9a058363bd021cb

diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 0b451c8..6c1152c 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;


More information about the Libreoffice-commits mailing list