[Sema] Improve llvm_unreachable() message.

llvm-svn: 237532
This commit is contained in:
Davide Italiano 2015-05-17 02:27:10 +00:00
parent 28e0f243cf
commit 24e89664cd
1 changed files with 1 additions and 1 deletions

View File

@ -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) {