Kaydet (Commit) 526bbbbd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

isLookupContext already available in Clang 3.7.0

Change-Id: Ia17a116b1f7605b5a8d572c6a6f4ef64adea8f94
üst 49c5b9a9
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment