[clang] [SemaHLSL] Verify assignment of local resources (PR #176793)
Deric C. via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 19 10:45:48 PST 2026
================
@@ -230,6 +238,13 @@ class SemaHLSL : public SemaBase {
// List of all resource bindings
ResourceBindings Bindings;
+ // Map of local resource variables to their used global resource.
+ //
+ // The Binding can be a nullptr, in which case, the variable has not be
+ // initialized or assigned to yet.
----------------
Icohedron wrote:
nit
```suggestion
// The binding can be a nullptr, in which case, the variable has yet to be
// initialized or assigned to.
```
https://github.com/llvm/llvm-project/pull/176793
More information about the cfe-commits
mailing list