[clang] [HLSL][RootSignature] Define and integrate rootsig clang attr and decl (PR #137690)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 07:12:41 PDT 2025


================
@@ -3037,6 +3037,11 @@ void TextNodeDumper::VisitHLSLBufferDecl(const HLSLBufferDecl *D) {
   dumpName(D);
 }
 
+void TextNodeDumper::VisitHLSLRootSignatureDecl(
+    const HLSLRootSignatureDecl *D) {
+  dumpName(D);
----------------
llvm-beanz wrote:

We should think through how we want to serialize the root signature to text as part of the AST. It might be nice to have something so that we can test/inspect it.

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


More information about the cfe-commits mailing list