[clang] [llvm] [HLSL][RootSignature] Implement parsing of `RootParamter`s (PR #121803)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 09:19:56 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff f739aa4004165dc64d3a1f418d5ad3c84886f01a 8ed0186a9e3a9cf2af45eb102dff77fabcc4cb97 --extensions cpp,h -- clang/include/clang/Sema/ParseHLSLRootSignature.h clang/lib/Sema/ParseHLSLRootSignature.cpp clang/unittests/Sema/ParseHLSLRootSignatureTest.cpp llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Sema/ParseHLSLRootSignature.cpp b/clang/lib/Sema/ParseHLSLRootSignature.cpp
index 72bc5b1be3..4aaf2f34c1 100644
--- a/clang/lib/Sema/ParseHLSLRootSignature.cpp
+++ b/clang/lib/Sema/ParseHLSLRootSignature.cpp
@@ -45,7 +45,7 @@ bool Parser::ParseRootParameter() {
.Case("SRV", RootType::SRV)
.Case("UAV", RootType::UAV)
.Case("RootConstants", RootType::Constants);
- // Will never reach here as Token was just verified in dispatch
+ // Will never reach here as Token was just verified in dispatch
// Remove any whitespace
Buffer = Buffer.drop_while(isspace);
``````````
</details>
https://github.com/llvm/llvm-project/pull/121803
More information about the llvm-commits
mailing list