Author: Benjamin Kramer
Date: 2023-02-19T10:54:10+01:00
New Revision: 37f5c598a22a0e11d827979c910befb0b57c2033

URL: 
https://github.com/llvm/llvm-project/commit/37f5c598a22a0e11d827979c910befb0b57c2033
DIFF: 
https://github.com/llvm/llvm-project/commit/37f5c598a22a0e11d827979c910befb0b57c2033.diff

LOG: [lldb] Add missing wasm switch case

TypeSystemClang.cpp:4855:13: error: enumeration value 'WasmExternRef' not 
handled in switch [-Werror,-Wswitch]

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp 
b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index af897a70bd094..bf0dcc3a92576 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;
     }


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to