forked from OSchip/llvm-project
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:
parent
b738855f8c
commit
515abdd5a7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue