Look through using declarations when determining whether one decl hides another
llvm-svn: 93378
This commit is contained in:
parent
e4d5432136
commit
0235c4243f
|
@ -1916,6 +1916,9 @@ VisibleDeclsRecord::ShadowMapEntry::end() {
|
|||
}
|
||||
|
||||
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