aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Index/USRGeneration.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-10-01 14:12:34 +0100
committerGitHub <noreply@github.com>2024-10-01 14:12:34 +0100
commitfe61dbf1d3350d11ab975e45f805f3bfe885b8b7 (patch)
tree8b61558d8b2bdba87198223a8ad75d4575f909e8 /clang/lib/Index/USRGeneration.cpp
parent9cd289fa4a7355e1bfd3129ba9c755f979fd0a72 (diff)
downloadllvm-fe61dbf1d3350d11ab975e45f805f3bfe885b8b7.zip
llvm-fe61dbf1d3350d11ab975e45f805f3bfe885b8b7.tar.gz
llvm-fe61dbf1d3350d11ab975e45f805f3bfe885b8b7.tar.bz2
[AMDGPU] Specify width and align for all AMDGPU builtin types. NFC. (#109656)
This will be used in ASTContext::getTypeInfo which needs this information for all builtin types, not just pointers.
Diffstat (limited to 'clang/lib/Index/USRGeneration.cpp')
-rw-r--r--clang/lib/Index/USRGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp
index f00bc564..35d0aef 100644
--- a/clang/lib/Index/USRGeneration.cpp
+++ b/clang/lib/Index/USRGeneration.cpp
@@ -780,7 +780,7 @@ void USRGenerator::VisitType(QualType T) {
#include "clang/Basic/RISCVVTypes.def"
#define WASM_TYPE(Name, Id, SingletonId) case BuiltinType::Id:
#include "clang/Basic/WebAssemblyReferenceTypes.def"
-#define AMDGPU_TYPE(Name, Id, SingletonId) \
+#define AMDGPU_TYPE(Name, Id, SingletonId, Width, Align) \
case BuiltinType::Id: \
Out << "@BT@" << #Name; \
break;