forked from OSchip/llvm-project
[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:
parent
4d13cb0a8a
commit
122441d8fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue