diff options
-rw-r--r-- | lldb/source/Core/Mangled.cpp | 1 | ||||
-rw-r--r-- | lldb/source/Core/RichManglingContext.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Core/Mangled.cpp b/lldb/source/Core/Mangled.cpp index c01df6cb59c..536c812c332 100644 --- a/lldb/source/Core/Mangled.cpp +++ b/lldb/source/Core/Mangled.cpp @@ -354,6 +354,7 @@ bool Mangled::DemangleWithRichManglingInfo( } } } + llvm_unreachable("Fully covered switch above!"); } //---------------------------------------------------------------------- diff --git a/lldb/source/Core/RichManglingContext.cpp b/lldb/source/Core/RichManglingContext.cpp index 0ff602f7ad1..f5fbe38a49f 100644 --- a/lldb/source/Core/RichManglingContext.cpp +++ b/lldb/source/Core/RichManglingContext.cpp @@ -74,6 +74,7 @@ bool RichManglingContext::IsCtorOrDtor() const { case None: return false; } + llvm_unreachable("Fully covered switch above!"); } bool RichManglingContext::IsFunction() const { @@ -86,6 +87,7 @@ bool RichManglingContext::IsFunction() const { case None: return false; } + llvm_unreachable("Fully covered switch above!"); } void RichManglingContext::processIPDStrResult(char *ipd_res, size_t res_size) { |