isLookupContext already available in Clang 3.7.0
Change-Id: Ia17a116b1f7605b5a8d572c6a6f4ef64adea8f94
diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 0a16a3c..9b352db 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()