aboutsummaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2024-01-27 16:25:28 +0100
committerGitHub <noreply@github.com>2024-01-27 16:25:28 +0100
commit57a20d2d09bbd3cc501fc6d8b4746be2040c99b7 (patch)
tree271aac1106f11021b7b73b1094384571c5bef178 /lldb
parent143b510a8fefb0d203c9ac7e036aa9967dd8a2ef (diff)
downloadllvm-57a20d2d09bbd3cc501fc6d8b4746be2040c99b7.zip
llvm-57a20d2d09bbd3cc501fc6d8b4746be2040c99b7.tar.gz
llvm-57a20d2d09bbd3cc501fc6d8b4746be2040c99b7.tar.bz2
[LLDB] Default implementation for pack indexing types. (#79695)
We do not handle pack indexing types (added by yet #72644) but we add them to some switch statement to ensure CI builds do not fail.
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 6f5ff1054..4ceeb62 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;