Skip to content

Commit 37f5c59

Browse files
committed
[lldb] Add missing wasm switch case
TypeSystemClang.cpp:4855:13: error: enumeration value 'WasmExternRef' not handled in switch [-Werror,-Wswitch]
1 parent 98b9f86 commit 37f5c59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5118,6 +5118,10 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
51185118
case clang::BuiltinType::RvvBool64:
51195119
break;
51205120

5121+
// WebAssembly builtin types.
5122+
case clang::BuiltinType::WasmExternRef:
5123+
break;
5124+
51215125
case clang::BuiltinType::IncompleteMatrixIdx:
51225126
break;
51235127
}

0 commit comments

Comments
 (0)