[Lldb-commits] [lldb] [lldb] Fix GCC's `-Wreturn-type` warnings (PR #127974)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 20 01:17:03 PST 2025


================
@@ -58,6 +58,8 @@ std::string TypeSummaryImpl::GetSummaryKindName() {
     return "c++";
   case Kind::eBytecode:
     return "bytecode";
+  case default:
+    return "unknown";
----------------
Michael137 wrote:

this (and the other case) should probably be `__llvm_unreachable()`?

https://github.com/llvm/llvm-project/pull/127974


More information about the lldb-commits mailing list