================
@@ -5178,6 +5179,29 @@ class HLSLBufferDecl final : public NamedDecl, public
DeclContext {
friend class ASTDeclWriter;
};
+class HLSLRootSignatureDecl final : public NamedDecl {
+ ArrayRef<llvm::hlsl::rootsig::RootElement> RootElements;
----------------
llvm-beanz wrote:
This should probably be a `TrailingObjects` instead of an `ArrayRef` so that it
is allocated with the Decl (and in adjacent cache-friendly memory).
https://github.com/llvm/llvm-project/pull/137690
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits