From 1b32c3e2985f89900030289eaa44e3d92cab85af Mon Sep 17 00:00:00 2001 From: Danial Klimkin Date: Fri, 30 Aug 2024 11:51:44 +0200 Subject: [PATCH] Add no-op handing for HLSLAttributedResource switch cases (#106698) New value added in e00e9a3f8294c9b96cb0328bf136fab72aeec749 --- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp index 695801da9da6..b0f49ebf2d2c 100644 --- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -4241,6 +4241,9 @@ TypeSystemClang::GetTypeClass(lldb::opaque_compiler_type_t type) { // We don't handle pack indexing yet case clang::Type::PackIndexing: break; + + case clang::Type::HLSLAttributedResource: + break; } // We don't know hot to display this type... return lldb::eTypeClassOther; @@ -5148,6 +5151,9 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type, // We don't handle pack indexing yet case clang::Type::PackIndexing: break; + + case clang::Type::HLSLAttributedResource: + break; } count = 0; return lldb::eEncodingInvalid; @@ -5309,6 +5315,9 @@ lldb::Format TypeSystemClang::GetFormat(lldb::opaque_compiler_type_t type) { // We don't handle pack indexing yet case clang::Type::PackIndexing: break; + + case clang::Type::HLSLAttributedResource: + break; } // We don't know hot to display this type... return lldb::eFormatBytes;