https://github.com/cor3ntin created https://github.com/llvm/llvm-project/pull/79695
We do not handle these types yet but we add them to some switch statement to ensure CI build does not fail. >From fd5be4df3ed75f60e5c343b29eb1d0fea1a41016 Mon Sep 17 00:00:00 2001 From: Corentin Jabot <corentinja...@gmail.com> Date: Sat, 27 Jan 2024 15:52:45 +0100 Subject: [PATCH] [LLDB] Default implementation for pack indexing types. We do not handle these types yet but we add them to some switch statement to ensure CI build does not fail. --- .../Plugins/TypeSystem/Clang/TypeSystemClang.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp index 6f5ff105477be17..4ceeb624e088888 100644 --- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -4189,6 +4189,10 @@ TypeSystemClang::GetTypeClass(lldb::opaque_compiler_type_t type) { case clang::Type::ConstantMatrix: case clang::Type::DependentSizedMatrix: break; + + // We don't handle pack indexing yet + case clang::Type::PackIndexing: + break; } // We don't know hot to display this type... return lldb::eTypeClassOther; @@ -5066,6 +5070,10 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type, case clang::Type::ConstantMatrix: case clang::Type::DependentSizedMatrix: break; + + // We don't handle pack indexing yet + case clang::Type::PackIndexing: + break; } count = 0; return lldb::eEncodingInvalid; @@ -5221,6 +5229,10 @@ lldb::Format TypeSystemClang::GetFormat(lldb::opaque_compiler_type_t type) { case clang::Type::ConstantMatrix: case clang::Type::DependentSizedMatrix: break; + + // We don't handle pack indexing yet + case clang::Type::PackIndexing: + break; } // We don't know hot to display this type... return lldb::eFormatBytes; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits