[clang] [HLSL] Implement default constant buffer $Globals (2nd attempt) (PR #128589)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 24 20:38:37 PST 2025


================
@@ -5769,11 +5776,11 @@ void HLSLBufferDecl::addLayoutStruct(CXXRecordDecl *LS) {
   addDecl(LS);
 }
 
-void HLSLBufferDecl::addDefaultBufferDecl(Decl *D) {
+void HLSLBufferDecl::setDefaultBufferDecls(ArrayRef<Decl *> Decls) {
----------------
hekota wrote:

Good idea!

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


More information about the cfe-commits mailing list