[NFC] Use llvm_unreachable instead of lldb::assert

Summary: Fixes implicit fall through warnings

Reviewers: JDevlieghere, teemperor

Reviewed By: teemperor

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D51601

llvm-svn: 341339
This commit is contained in:
David Bolvansky 2018-09-03 22:08:30 +00:00
parent 4d13cb0a8a
commit 122441d8fd
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ int Editline::GetCharacter(EditLineGetCharType *c) {
break;
case lldb::eConnectionStatusInterrupted:
lldbassert(0 && "Interrupts should have been handled above.");
llvm_unreachable("Interrupts should have been handled above.");
case lldb::eConnectionStatusError: // Check GetError() for details
case lldb::eConnectionStatusTimedOut: // Request timed out