Add all Decls found through FindExternalLexicalDecls
to the DeclContext.  This fulfils the contract that
we make with Clang by returning ELR_AlreadyLoaded.

This is a little aggressive in that it does not allow
the ASTImporter to import the child decls with any
lexical parent other than the Decl that reported them
as children.

<rdar://problem/13517713>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181498 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed