Skip to content

Commit 39c4ac1

Browse files
committed
[lldb] Silence a GCC warning about missing returns after a fully covered switch. NFC.
1 parent c8daf4a commit 39c4ac1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Target/Target.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3466,6 +3466,7 @@ void Target::PrintDummySignals(Stream &strm, Args &signal_args) {
34663466
case eLazyBoolYes: return "true ";
34673467
case eLazyBoolNo: return "false ";
34683468
}
3469+
llvm_unreachable("Fully covered switch above!");
34693470
};
34703471
size_t num_args = signal_args.GetArgumentCount();
34713472
for (const auto &elem : m_dummy_signals) {

0 commit comments

Comments
 (0)