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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to