[clang] [HLSL] Add HLSLAttributedResourceType (PR #106181)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 27 12:19:35 PDT 2024
================
@@ -8803,6 +8821,12 @@ static void processTypeAttrs(TypeProcessingState &state, QualType &type,
attr.setUsedAsTypeAttr();
break;
}
+ case ParsedAttr::AT_HLSLResourceClass:
----------------
hekota wrote:
Correct, we will be adding quite a few new attributes here. I would prefer not to add the TODOs though. There are many other places that need to be modified when a new attribute is added, and I don't want to add TODO everywhere. I think it is better to just look for where the existing attributes are processed when adding a new one.
https://github.com/llvm/llvm-project/pull/106181
More information about the cfe-commits
mailing list