================
@@ -5237,26 +5219,44 @@ def HLSLResourceDimension : TypeAttr {
/*is_string=*/true, ["Unknown", "1D", "2D", "3D", "Cube"],
["Unknown", "Dim1D", "Dim2D", "Dim3D", "Cube"],
/*opt=*/0, /*fake=*/0, /*isExternalType=*/1>];
- let Documentation = [InternalOnly];
+ let Documentation = [HLSLResourceDimensionDocs];
}
def HLSLContainedType : TypeAttr {
let Spellings = [CXX11<"hlsl", "contained_type">];
let LangOpts = [HLSL];
let Args = [TypeArgument<"Type", /*opt=*/0>];
- let Documentation = [InternalOnly];
+ let Documentation = [HLSLContainedTypeDocs];
}
def HLSLRawBuffer : TypeAttr {
let Spellings = [CXX11<"hlsl", "raw_buffer">];
let LangOpts = [HLSL];
- let Documentation = [InternalOnly];
+ let Documentation = [HLSLRawBufferDocs];
+}
+
+def HLSLIsArray : TypeAttr {
+ let Spellings = [CXX11<"hlsl", "is_array">];
+ let LangOpts = [HLSL];
+ let Documentation = [HLSLIsArrayDocs];
+}
+
+def HLSLIsMultiSampled : TypeAttr {
+ let Spellings = [CXX11<"hlsl", "is_ms">];
+ let LangOpts = [HLSL];
+ let Documentation = [HLSLIsMultiSampledDocs];
+}
+
+def HLSLIsROV : TypeAttr {
----------------
bogner wrote:
Note that I renamed this from HLSLROV to HLSLIsROV to match the other similar
attributes.
https://github.com/llvm/llvm-project/pull/213346
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits