================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits