[clang] [Clang][SPIRV] Add __spirv_event_t builtin type (PR #207077)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 8 20:53:50 PDT 2026
================
@@ -3252,6 +3250,9 @@ class BuiltinType : public Type {
// HLSL intangible Types
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) Id,
#include "clang/Basic/HLSLIntangibleTypes.def"
+// SPIRV types
+#define SPIRV_TYPE(Name, Id, SingletonId) Id,
+#include "clang/Basic/SPIRVTypes.def"
----------------
tahonermann wrote:
Earlier in this file, around line 2780, there are a sequence of `isXXXType()` member functions. For the types defined by `*Types.def` files, there are corresponding inclusions to declare those with defining inclusions later; around line 8970. I think we should do similarly for this new type in order to enable simple queries for it.
https://github.com/llvm/llvm-project/pull/207077
More information about the cfe-commits
mailing list