]> granicus.if.org Git - clang/commit
When setting the external visible declarations for a decl context, check
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Jun 2013 01:46:41 +0000 (01:46 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Jun 2013 01:46:41 +0000 (01:46 +0000)
commitddb10f767604d8efa5e491076d6fdd23a19db86c
treecd08a32d751324781136bc707a25b39120cd5639
parentab297ccbcc51d5197d4ddb4e99b7bc8868d38314
When setting the external visible declarations for a decl context, check
whether they replace any existing lookups in the context, rather than
accumulating a bunch of lookup results referring to the same entity.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclBase.cpp
test/PCH/cxx-namespaces.cpp
test/PCH/cxx-namespaces.h