Skip to content

Commit 2ceded1

Browse files
committed
[AMDGPU] Change image desc rsrc character from 'c' to 't'
1 parent 2da2208 commit 2ceded1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Basic/Builtins.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
// Q -> target builtin type, followed by a character to distinguish the builtin type
3535
// Qa -> AArch64 svcount_t builtin type.
3636
// Qb -> AMDGPU __amdgpu_buffer_rsrc_t builtin type.
37-
// Qc -> AMDGPU __amdgpu_image_desc_t builtin type.
37+
// Qt -> AMDGPU __amdgpu_image_desc_t builtin type.
3838
// E -> ext_vector, followed by the number of elements and the base type.
3939
// X -> _Complex, followed by the base type.
4040
// Y -> ptrdiff_t

clang/lib/AST/ASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12580,7 +12580,7 @@ static QualType DecodeTypeFromStr(const char *&Str, const ASTContext &Context,
1258012580
Type = Context.AMDGPUBufferRsrcTy;
1258112581
break;
1258212582
}
12583-
case 'c': {
12583+
case 't': {
1258412584
Type = Context.AMDGPUImageDescRsrcTy;
1258512585
break;
1258612586
}

0 commit comments

Comments
 (0)