From dac6e9ca2190b7ece67ab7b62ea113d3ade5067a Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 14 May 2020 13:28:47 +0200 Subject: [PATCH] [lldb] Fix a "missing return" warning in XcodeSDK --- lldb/source/Utility/XcodeSDK.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Utility/XcodeSDK.cpp b/lldb/source/Utility/XcodeSDK.cpp index ae46042..d5ef8e2 100644 --- a/lldb/source/Utility/XcodeSDK.cpp +++ b/lldb/source/Utility/XcodeSDK.cpp @@ -41,6 +41,7 @@ static llvm::StringRef GetName(XcodeSDK::Type type) { case XcodeSDK::unknown: return {}; } + llvm_unreachable("Unhandled sdk type!"); } XcodeSDK::XcodeSDK(XcodeSDK::Info info) : m_name(GetName(info.type).str()) { -- 2.7.4