Revert r93378, which is incorrect but currently unobservable (because the

underlying declaration of a NamedDecl happens to always have the same name
and identifier namespace as the decl itself today).

llvm-svn: 256529
This commit is contained in:
Richard Smith 2015-12-29 01:02:53 +00:00
parent b738855f8c
commit 515abdd5a7
1 changed files with 0 additions and 3 deletions

View File

@ -3305,9 +3305,6 @@ public:
} // end anonymous namespace
NamedDecl *VisibleDeclsRecord::checkHidden(NamedDecl *ND) {
// Look through using declarations.
ND = ND->getUnderlyingDecl();
unsigned IDNS = ND->getIdentifierNamespace();
std::list<ShadowMap>::reverse_iterator SM = ShadowMaps.rbegin();
for (std::list<ShadowMap>::reverse_iterator SMEnd = ShadowMaps.rend();