diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-06-21 16:59:53 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-06-21 17:00:47 +0300 |
commit | 77da7b934d782153be9271605691ceee6c66233a (patch) | |
tree | 3adea410c3bf2548735dffe60fd053e525b0db46 /compilerplugins | |
parent | 48da675a67a2bfd2eadfd6d4c6dba0dee74b5326 (diff) |
Fix compilation with Clang 3.9.1
Change-Id: I6e96064a001fd511864665fe0ef8b60d45462c12
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/unusedfields.cxx | 2 |
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)) |