]> granicus.if.org Git - clang/commit
When looking for lexical decls from an external source, check all contexts
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 24 Mar 2015 02:44:20 +0000 (02:44 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 24 Mar 2015 02:44:20 +0000 (02:44 +0000)
commitc850c7e1887debd28a8da94d80afc1ce45256665
tree89f891938efdb36749ab60f194a979a5ba69f588
parent7506e7f7bb8ad215b05ddc9c455cc229a8517a8d
When looking for lexical decls from an external source, check all contexts
rather than just the primary context. This is technically correct but results
in no functionality change (in Clang nor LLDB) because all users of this
functionality only use it on single-context DCs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233045 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
lib/AST/DeclBase.cpp