[llvm-branch-commits] [clang] [HLSL] Implement default constant buffer `$Globals` (PR #125807)
Sarah Spall via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Feb 11 10:49:09 PST 2025
================
@@ -159,11 +159,16 @@ class SemaHLSL : public SemaBase {
// List of all resource bindings
ResourceBindings Bindings;
+ // default constant buffer $Globals
+ HLSLBufferDecl *DefaultCBuffer;
+
private:
void collectResourcesOnVarDecl(VarDecl *D);
void collectResourcesOnUserRecordDecl(const VarDecl *VD,
const RecordType *RT);
void processExplicitBindingsOnDecl(VarDecl *D);
+
+ void diagnoseAvailabilityViolations(TranslationUnitDecl *TU);
----------------
spall wrote:
Why do you want this to be private now?
https://github.com/llvm/llvm-project/pull/125807
More information about the llvm-branch-commits
mailing list