Skip to content

Commit 57a20d2

Browse files
authored
[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.
1 parent 143b510 commit 57a20d2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4189,6 +4189,10 @@ TypeSystemClang::GetTypeClass(lldb::opaque_compiler_type_t type) {
41894189
case clang::Type::ConstantMatrix:
41904190
case clang::Type::DependentSizedMatrix:
41914191
break;
4192+
4193+
// We don't handle pack indexing yet
4194+
case clang::Type::PackIndexing:
4195+
break;
41924196
}
41934197
// We don't know hot to display this type...
41944198
return lldb::eTypeClassOther;
@@ -5066,6 +5070,10 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
50665070
case clang::Type::ConstantMatrix:
50675071
case clang::Type::DependentSizedMatrix:
50685072
break;
5073+
5074+
// We don't handle pack indexing yet
5075+
case clang::Type::PackIndexing:
5076+
break;
50695077
}
50705078
count = 0;
50715079
return lldb::eEncodingInvalid;
@@ -5221,6 +5229,10 @@ lldb::Format TypeSystemClang::GetFormat(lldb::opaque_compiler_type_t type) {
52215229
case clang::Type::ConstantMatrix:
52225230
case clang::Type::DependentSizedMatrix:
52235231
break;
5232+
5233+
// We don't handle pack indexing yet
5234+
case clang::Type::PackIndexing:
5235+
break;
52245236
}
52255237
// We don't know hot to display this type...
52265238
return lldb::eFormatBytes;

0 commit comments

Comments
 (0)