summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-06-21 16:59:53 +0300
committerTor Lillqvist <tml@collabora.com>2017-06-21 17:00:47 +0300
commit77da7b934d782153be9271605691ceee6c66233a (patch)
tree3adea410c3bf2548735dffe60fd053e525b0db46
parent48da675a67a2bfd2eadfd6d4c6dba0dee74b5326 (diff)
Fix compilation with Clang 3.9.1
Change-Id: I6e96064a001fd511864665fe0ef8b60d45462c12
-rw-r--r--compilerplugins/clang/unusedfields.cxx2
1 files changed, 1 insertions, 1 deletions
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))