forked from OSchip/llvm-project
Removed useless default branch of switch statement.
The problem was caught by sanitizer build. llvm-svn: 189575
This commit is contained in:
parent
c076d0682b
commit
0ccd3f61b1
clang/lib/Sema
|
@ -1870,9 +1870,6 @@ void Sema::DiagnoseAmbiguousLookup(LookupResult &Result) {
|
|||
Diag((*DI)->getLocation(), diag::note_ambiguous_candidate) << *DI;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
llvm_unreachable("unknown ambiguity kind");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue