[Lldb-commits] [lldb] 81d665f - Revert "[lldb] Fix warning about unhandled enum value `WasmExternRef` (NFC)."

Kazu Hirata via lldb-commits lldb-commits at lists.llvm.org
Sun Feb 5 22:45:53 PST 2023


Author: Kazu Hirata
Date: 2023-02-05T22:45:46-08:00
New Revision: 81d665fb1b6453329cacde0a89f722a73d128b54

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

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

This reverts commit b27e4f72213e78cacf0ce5bfd127261ec0b9309b.

bccf5999d38f14552f449618c1d72d18613f4285 necessitates this revert.

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 30b4f800a48e4..3c1fc4093c3b1 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -5121,10 +5121,6 @@ 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