[clang] [Clang][AMDGPU] Add a new builtin type for buffer rsrc (PR #94830)
Jay Foad via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 06:24:51 PDT 2024
================
@@ -4778,6 +4782,8 @@ bool Type::canHaveNullability(bool ResultIfUnknown) const {
#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) case BuiltinType::Id:
+#include "clang/Basic/AMDGPUTypes.def"
----------------
jayfoad wrote:
I think pointer-like types should return true from this function?
https://github.com/llvm/llvm-project/pull/94830
More information about the cfe-commits
mailing list