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

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 01:04:25 PDT 2024


================
@@ -2048,6 +2049,17 @@ void TypePrinter::printBTFTagAttributedAfter(const BTFTagAttributedType *T,
   printAfter(T->getWrappedType(), OS);
 }
 
+void TypePrinter::printHLSLAttributedResourceBefore(
+    const HLSLAttributedResourceType *T, raw_ostream &OS) {
+  printBefore(T->getWrappedType(), OS);
+  // FIXME: print values of resource type attributes here
----------------
bogner wrote:

Why the fixme here? Can we not do this yet?

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


More information about the cfe-commits mailing list