Skip to content

Commit a69487d

Browse files
[lldb] Fix warnings (#141687)
This patch fixes: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4137:11: error: enumeration value 'HLSLInlineSpirv' not handled in switch [-Werror,-Wswitch] lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4844:11: error: enumeration value 'HLSLInlineSpirv' not handled in switch [-Werror,-Wswitch] lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:5142:11: error: enumeration value 'HLSLInlineSpirv' not handled in switch [-Werror,-Wswitch]
1 parent cbe2352 commit a69487d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4262,6 +4262,8 @@ TypeSystemClang::GetTypeClass(lldb::opaque_compiler_type_t type) {
42624262

42634263
case clang::Type::HLSLAttributedResource:
42644264
break;
4265+
case clang::Type::HLSLInlineSpirv:
4266+
break;
42654267
}
42664268
// We don't know hot to display this type...
42674269
return lldb::eTypeClassOther;
@@ -5128,6 +5130,8 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
51285130

51295131
case clang::Type::HLSLAttributedResource:
51305132
break;
5133+
case clang::Type::HLSLInlineSpirv:
5134+
break;
51315135
}
51325136
count = 0;
51335137
return lldb::eEncodingInvalid;
@@ -5292,6 +5296,8 @@ lldb::Format TypeSystemClang::GetFormat(lldb::opaque_compiler_type_t type) {
52925296

52935297
case clang::Type::HLSLAttributedResource:
52945298
break;
5299+
case clang::Type::HLSLInlineSpirv:
5300+
break;
52955301
}
52965302
// We don't know hot to display this type...
52975303
return lldb::eFormatBytes;

0 commit comments

Comments
 (0)