[Lldb-commits] [lldb] b27e4f7 - [lldb] Fix warning about unhandled enum value `WasmExternRef` (NFC).

Jorge Gorbe Moya via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 31 10:31:05 PST 2023


Author: Jorge Gorbe Moya
Date: 2023-01-31T10:26:39-08:00
New Revision: b27e4f72213e78cacf0ce5bfd127261ec0b9309b

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

LOG: [lldb] Fix warning about unhandled enum value `WasmExternRef` (NFC).

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 3c1fc4093c3b1..30b4f800a48e4 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -5121,6 +5121,10 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
 
     case clang::BuiltinType::IncompleteMatrixIdx:
       break;
+
+    // WASM.
+    case clang::BuiltinType::WasmExternRef:
+      break;
     }
     break;
   // All pointer types are represented as unsigned integer encodings. We may


        


More information about the lldb-commits mailing list