diff options
author | Jay Foad <jay.foad@amd.com> | 2024-10-01 14:12:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 14:12:34 +0100 |
commit | fe61dbf1d3350d11ab975e45f805f3bfe885b8b7 (patch) | |
tree | 8b61558d8b2bdba87198223a8ad75d4575f909e8 /clang/lib/Serialization/ASTCommon.cpp | |
parent | 9cd289fa4a7355e1bfd3129ba9c755f979fd0a72 (diff) | |
download | llvm-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/Serialization/ASTCommon.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTCommon.cpp b/clang/lib/Serialization/ASTCommon.cpp index f30642f..ab4923d 100644 --- a/clang/lib/Serialization/ASTCommon.cpp +++ b/clang/lib/Serialization/ASTCommon.cpp @@ -258,7 +258,7 @@ serialization::TypeIdxFromBuiltin(const BuiltinType *BT) { ID = PREDEF_TYPE_##Id##_ID; \ break; #include "clang/Basic/WebAssemblyReferenceTypes.def" -#define AMDGPU_TYPE(Name, Id, SingletonId) \ +#define AMDGPU_TYPE(Name, Id, SingletonId, Width, Align) \ case BuiltinType::Id: \ ID = PREDEF_TYPE_##Id##_ID; \ break; |