Skip to content

Commit 50c2856

Browse files
committed
[lldb] Fix build warnings of unhandled SPIRV builtin types
These types are introduced in intel#1945
1 parent a950450 commit 50c2856

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

+15
Original file line numberDiff line numberDiff line change
@@ -4966,6 +4966,21 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
49664966
case clang::BuiltinType::OCLIntelSubgroupAVCImeDualRefStreamin:
49674967
break;
49684968

4969+
// SPIRV builtin types.
4970+
case clang::BuiltinType::SampledOCLImage1dRO:
4971+
case clang::BuiltinType::SampledOCLImage1dArrayRO:
4972+
case clang::BuiltinType::SampledOCLImage1dBufferRO:
4973+
case clang::BuiltinType::SampledOCLImage2dRO:
4974+
case clang::BuiltinType::SampledOCLImage2dArrayRO:
4975+
case clang::BuiltinType::SampledOCLImage2dDepthRO:
4976+
case clang::BuiltinType::SampledOCLImage2dArrayDepthRO:
4977+
case clang::BuiltinType::SampledOCLImage2dMSAARO:
4978+
case clang::BuiltinType::SampledOCLImage2dArrayMSAARO:
4979+
case clang::BuiltinType::SampledOCLImage2dMSAADepthRO:
4980+
case clang::BuiltinType::SampledOCLImage2dArrayMSAADepthRO:
4981+
case clang::BuiltinType::SampledOCLImage3dRO:
4982+
break;
4983+
49694984
// PowerPC -- Matrix Multiply Assist
49704985
case clang::BuiltinType::VectorPair:
49714986
case clang::BuiltinType::VectorQuad:

0 commit comments

Comments
 (0)