[clang] [HLSL] Document all spellable attributes (PR #213346)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 31 13:02:48 PDT 2026
================
@@ -5200,24 +5200,6 @@ def HLSLShader : InheritableAttr {
}];
}
-def HLSLIsArray : TypeAttr {
- let Spellings = [CXX11<"hlsl", "is_array">];
- let LangOpts = [HLSL];
- let Documentation = [InternalOnly];
-}
-
-def HLSLIsMultiSampled : TypeAttr {
- let Spellings = [CXX11<"hlsl", "is_ms">];
- let LangOpts = [HLSL];
- let Documentation = [InternalOnly];
-}
-
-def HLSLROV : TypeAttr {
- let Spellings = [CXX11<"hlsl", "is_rov">];
- let LangOpts = [HLSL];
- let Documentation = [InternalOnly];
-}
----------------
bogner wrote:
I moved these down slightly for consistency - seemed weird to have them before the main resource_class attribute.
https://github.com/llvm/llvm-project/pull/213346
More information about the cfe-commits
mailing list