[clang] [SemaHLSL] Verify assignment of local resources (PR #176793)
Deric C. via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 19 11:16:52 PST 2026
================
@@ -4797,6 +4848,19 @@ bool SemaHLSL::transformInitList(const InitializedEntity &Entity,
}
bool SemaHLSL::handleInitialization(VarDecl *VDecl, Expr *&Init) {
+ // If initializing a local resource, register the binding it is using
----------------
Icohedron wrote:
nit
```suggestion
// If initializing a local resource, register the binding it is using.
```
https://github.com/llvm/llvm-project/pull/176793
More information about the cfe-commits
mailing list