[clang] [HLSL] Add HLSLAttributedResourceType (PR #106181)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 11:25:07 PDT 2024


================
@@ -6067,6 +6082,9 @@ namespace {
     void VisitBTFTagAttributedTypeLoc(BTFTagAttributedTypeLoc TL) {
       // nothing
     }
+    void VisitHLSLResourcedAttributedTypeLoc(HLSLAttributedResourceTypeLoc TL) {
----------------
bob80905 wrote:

I am unsure if this function is named well.
The name has typically been "HLSLAttributedResourceType" but it's been switched around, and I'm unsure if the d after `Resource` is intended?
Also, how does this function semantically differ from `VisitHLSLAttributedResourceTypeLoc` which is already defined in this file?

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


More information about the cfe-commits mailing list