[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Add mandatory parameters for RootConstants (PR #138002)
Ashley Coleman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 8 14:26:02 PDT 2025
================
@@ -57,6 +57,27 @@ std::optional<RootConstants> RootSignatureParser::parseRootConstants() {
RootConstants Constants;
+ auto Params = parseRootConstantParams();
+ if (!Params.has_value())
----------------
V-FEXrt wrote:
nit:
```suggestion
if (Params)
```
https://github.com/llvm/llvm-project/pull/138002
More information about the llvm-branch-commits
mailing list