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

Tim Corringham via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 05:16:01 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:

Following other comments, I have now changed is_arrayed to is_array and used "array" rather than "arrayed" throughout for consistency with other attributes. 

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


More information about the cfe-commits mailing list