diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -1439,7 +1439,8 @@ g_get_dynamic_class_info2_name); return m_objc_copyRealizedClassList_helper.utility_function.get(); } - }; + } + llvm_unreachable("Unexpected helper"); } lldb::addr_t & @@ -1450,6 +1451,7 @@ case objc_copyRealizedClassList: return m_objc_copyRealizedClassList_helper.args; } + llvm_unreachable("Unexpected helper"); } AppleObjCRuntimeV2::DynamicClassInfoExtractor::Helper