forked from OSchip/llvm-project
Make LookupResult::resolveKind() robust against NotFoundInCurrentInstantiation.
Fixes PR 6049. llvm-svn: 93557
This commit is contained in:
parent
a6450df92a
commit
7fe6e9c2f1
|
@ -317,7 +317,7 @@ void LookupResult::resolveKind() {
|
|||
|
||||
// Fast case: no possible ambiguity.
|
||||
if (N == 0) {
|
||||
assert(ResultKind == NotFound);
|
||||
assert(ResultKind == NotFound || ResultKind == NotFoundInCurrentInstantiation);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue