forked from OSchip/llvm-project
[Sema] Improve llvm_unreachable() message.
llvm-svn: 237532
This commit is contained in:
parent
28e0f243cf
commit
24e89664cd
|
@ -1462,7 +1462,7 @@ static Sema::AccessResult CheckAccess(Sema &S, SourceLocation Loc,
|
|||
case AR_inaccessible: return Sema::AR_inaccessible;
|
||||
case AR_dependent: return Sema::AR_dependent;
|
||||
}
|
||||
llvm_unreachable("falling off end");
|
||||
llvm_unreachable("invalid access result");
|
||||
}
|
||||
|
||||
void Sema::HandleDelayedAccessCheck(DelayedDiagnostic &DD, Decl *D) {
|
||||
|
|
Loading…
Reference in New Issue