forked from OSchip/llvm-project
Fix a similar problem with qualified lookup through using directives,
although in this case we probably just run a risk of duplicating work; I can't think of how this could cause a bug. llvm-svn: 86680
This commit is contained in:
parent
9757d0363d
commit
b8be78b753
|
@ -783,7 +783,7 @@ static bool LookupQualifiedNameInUsingDirectives(Sema::LookupResult &R,
|
|||
// We have already looked into the initial namespace; seed the queue
|
||||
// with its using-children.
|
||||
for (; I != E; ++I) {
|
||||
NamespaceDecl *ND = (*I)->getNominatedNamespace();
|
||||
NamespaceDecl *ND = (*I)->getNominatedNamespace()->getOriginalNamespace();
|
||||
if (Visited.insert(ND).second)
|
||||
Queue.push_back(ND);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue