[clang] [llvm] [HLSL][RootSignature] Implement validation of resource ranges for `RootDescriptors` (PR #140962)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 19 16:03:43 PDT 2025


================
@@ -1068,10 +1069,139 @@ void SemaHLSL::ActOnFinishRootSignatureDecl(
       SemaRef.getASTContext(), /*DeclContext=*/SemaRef.CurContext, Loc,
       DeclIdent, Elements);
 
+  // Perform validation of constructs here
----------------
bogner wrote:

I don't think this comment is helpful (the old comment seemed like a placeholder for where to add validations, but now that this is doing validation it seems clear enough from the code)

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


More information about the llvm-commits mailing list