diff --git a/lldb/source/Core/RichManglingContext.cpp b/lldb/source/Core/RichManglingContext.cpp --- a/lldb/source/Core/RichManglingContext.cpp +++ b/lldb/source/Core/RichManglingContext.cpp @@ -123,6 +123,7 @@ case None: return {}; } + llvm_unreachable("Fully covered switch above!"); } llvm::StringRef RichManglingContext::ParseFunctionDeclContextName() { @@ -139,6 +140,7 @@ case None: return {}; } + llvm_unreachable("Fully covered switch above!"); } llvm::StringRef RichManglingContext::ParseFullName() { @@ -156,4 +158,5 @@ case None: return {}; } + llvm_unreachable("Fully covered switch above!"); }