r237532 - [Sema] Improve llvm_unreachable() message.
Davide Italiano
davide at freebsd.org
Sat May 16 19:27:10 PDT 2015
Author: davide
Date: Sat May 16 21:27:10 2015
New Revision: 237532
URL: http://llvm.org/viewvc/llvm-project?rev=237532&view=rev
Log:
[Sema] Improve llvm_unreachable() message.
Modified:
cfe/trunk/lib/Sema/SemaAccess.cpp
Modified: cfe/trunk/lib/Sema/SemaAccess.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaAccess.cpp?rev=237532&r1=237531&r2=237532&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaAccess.cpp (original)
+++ cfe/trunk/lib/Sema/SemaAccess.cpp Sat May 16 21:27:10 2015
@@ -1462,7 +1462,7 @@ static Sema::AccessResult CheckAccess(Se
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) {
More information about the cfe-commits
mailing list