[Libreoffice-commits] core.git: compilerplugins/clang
Tor Lillqvist
tml at collabora.com
Wed Jun 21 14:01:28 UTC 2017
compilerplugins/clang/unusedfields.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 77da7b934d782153be9271605691ceee6c66233a
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Jun 21 16:59:53 2017 +0300
Fix compilation with Clang 3.9.1
Change-Id: I6e96064a001fd511864665fe0ef8b60d45462c12
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx
index 66c99f48d281..1ba09f11e303 100644
--- a/compilerplugins/clang/unusedfields.cxx
+++ b/compilerplugins/clang/unusedfields.cxx
@@ -241,7 +241,7 @@ bool UnusedFields::VisitMemberExpr( const MemberExpr* memberExpr )
break;
}
if (isa<CastExpr>(parent) || isa<MemberExpr>(parent) || isa<ParenExpr>(parent) || isa<ParenListExpr>(parent)
-#if CLANG_VERSION >= 30900
+#if CLANG_VERSION >= 40000
|| isa<ArrayInitLoopExpr>(parent)
#endif
|| isa<ExprWithCleanups>(parent))
More information about the Libreoffice-commits
mailing list