[clang] [HLSL] Add IsArray resource attribute (PR #201163)

Tim Corringham via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 06:52:19 PDT 2026


================
@@ -6847,12 +6847,16 @@ class HLSLAttributedResourceType : public Type, public llvm::FoldingSetNode {
     LLVM_PREFERRED_TYPE(bool)
     uint8_t IsCounter : 1;
 
+    LLVM_PREFERRED_TYPE(bool)
+    uint8_t IsArray : 1;
----------------
tcorringham wrote:

Yes, I think this makes it more consistent - done.

https://github.com/llvm/llvm-project/pull/201163


More information about the cfe-commits mailing list