diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-19 10:11:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-19 10:12:17 +0100 |
commit | 526bbbbd2f8eb227bc0dacd755a6c72511adf976 (patch) | |
tree | 0effa6e5dcb6849048e19ca75912cf3a7ed5eae5 /compilerplugins | |
parent | 49c5b9a98c45cd082e7fa6b6e399c39cd664ed66 (diff) |
isLookupContext already available in Clang 3.7.0
Change-Id: Ia17a116b1f7605b5a8d572c6a6f4ef64adea8f94
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/compat.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index 0a16a3c99c2e..9b352db18802 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -42,7 +42,7 @@ namespace compat { inline bool isLookupContext(clang::DeclContext const & ctxt) { -#if (__clang_major__ == 3 && __clang_minor__ > 7) || __clang_major__ > 3 +#if (__clang_major__ == 3 && __clang_minor__ >= 7) || __clang_major__ > 3 return ctxt.isLookupContext(); #else return !ctxt.isFunctionOrMethod() |