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

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


================
@@ -5172,6 +5172,12 @@ def HLSLShader : InheritableAttr {
 }];
 }
 
+def HLSLArrayed : TypeAttr {
----------------
tcorringham wrote:

I have used HLSLIsArrayed and IsArrayed throughout to improve constency.

Thanks for the test suggestion - adding hlsl_is_arrayed.hlsl exposed a missing case in the processing of the attributes, which I have now fixed.

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


More information about the cfe-commits mailing list