From 37f5c598a22a0e11d827979c910befb0b57c2033 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 19 Feb 2023 10:54:10 +0100 Subject: [PATCH] [lldb] Add missing wasm switch case TypeSystemClang.cpp:4855:13: error: enumeration value 'WasmExternRef' not handled in switch [-Werror,-Wswitch] --- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp index af897a7..bf0dcc3 100644 --- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -5118,6 +5118,10 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type, case clang::BuiltinType::RvvBool64: break; + // WebAssembly builtin types. + case clang::BuiltinType::WasmExternRef: + break; + case clang::BuiltinType::IncompleteMatrixIdx: break; } -- 2.7.4