Fix a bug where an explicit instantiation declaration of a class template
specialization would make us think it might have a key function.


git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@204686 91177308-0d34-0410-b5e6-96231b3b80d8
Simplify: don't try to complete the list of decls twice when iterating over the
lookups for a DeclContext.


git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@204691 91177308-0d34-0410-b5e6-96231b3b80d8
If a DeclContext's lookups need to be reconciled, and we're given external declarations for a name, reconcile first. Otherwise, when we come to reconcile, we'll ask for external declarations for that name again. No functionality change intended.


git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@204692 91177308-0d34-0410-b5e6-96231b3b80d8