Don't be so eager to replace UsingDecls in a DeclContext's lookup table;
commit151e9e51f98174052f23abce842358bcd9a13833
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 4 Nov 2010 08:48:52 +0000 (4 08:48 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 4 Nov 2010 08:48:52 +0000 (4 08:48 +0000)
treedab57fcb4e8f5995fc553976ec67ecc72233acbf
parent2aad72f4e164201fb167638150eeff49bff06ab2
Don't be so eager to replace UsingDecls in a DeclContext's lookup table;
check that the TargetNestedNameDecl is the same first.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118239 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/SemaCXX/using-decl-templates.cpp