Teach C++ name lookup that it's okay to look in a scope without a
context. This happens fairly rarely (which is why we got away with
this bug). Fixes PR6184, where we skipped over the template parameter
scope while tentatively parsing.

llvm-svn: 95376
2 files changed
tree: 2447e9b552ba95c85b20bc6702a9ff90ac1c0689
  1. clang/
  2. compiler-rt/
  3. llvm/