Skip to content

Commit c79e3ee

Browse files
authored
Merge pull request #10221 from swiftlang/lldb/missing-bounds-safety-typeclass-cases-to-20240723
[lldb][TypeSystemClang] Handle missing bounds-safety type-class cases
2 parents aa33e98 + 8a47027 commit c79e3ee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,6 +2621,9 @@ RemoveWrappingTypes(QualType type, ArrayRef<clang::Type::TypeClass> mask = {}) {
26212621
case clang::Type::TypeOf:
26222622
case clang::Type::TypeOfExpr:
26232623
case clang::Type::Using:
2624+
case clang::Type::CountAttributed:
2625+
case clang::Type::DynamicRangePointer:
2626+
case clang::Type::ValueTerminated:
26242627
type = type->getLocallyUnqualifiedSingleStepDesugaredType();
26252628
break;
26262629
default:
@@ -4246,6 +4249,8 @@ TypeSystemClang::GetTypeClass(lldb::opaque_compiler_type_t type) {
42464249
case clang::Type::Atomic:
42474250
case clang::Type::Auto:
42484251
case clang::Type::CountAttributed:
4252+
case clang::Type::DynamicRangePointer:
4253+
case clang::Type::ValueTerminated:
42494254
case clang::Type::Decltype:
42504255
case clang::Type::Elaborated:
42514256
case clang::Type::Paren:
@@ -4994,6 +4999,8 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
49944999
case clang::Type::Atomic:
49955000
case clang::Type::Auto:
49965001
case clang::Type::CountAttributed:
5002+
case clang::Type::DynamicRangePointer:
5003+
case clang::Type::ValueTerminated:
49975004
case clang::Type::Decltype:
49985005
case clang::Type::Elaborated:
49995006
case clang::Type::Paren:
@@ -5337,6 +5344,8 @@ lldb::Format TypeSystemClang::GetFormat(lldb::opaque_compiler_type_t type) {
53375344
case clang::Type::Atomic:
53385345
case clang::Type::Auto:
53395346
case clang::Type::CountAttributed:
5347+
case clang::Type::DynamicRangePointer:
5348+
case clang::Type::ValueTerminated:
53405349
case clang::Type::Decltype:
53415350
case clang::Type::Elaborated:
53425351
case clang::Type::Paren:

0 commit comments

Comments
 (0)