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 b41b86a907f653f79bab10d4c80b3a41d146c71b
4bcd12c8f699240ef19b7540ac8ac89969a1621f --extensions h,cpp --
clang/include/clang/Parse/ParseHLSLRootSignature.h
clang/lib/Parse/ParseHLSLRootSignature.cpp
clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
clang/include/clang/Lex/LexHLSLRootSignature.h
clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Parse/ParseHLSLRootSignature.cpp
b/clang/lib/Parse/ParseHLSLRootSignature.cpp
index ac89baaf14..a4815a25cc 100644
--- a/clang/lib/Parse/ParseHLSLRootSignature.cpp
+++ b/clang/lib/Parse/ParseHLSLRootSignature.cpp
@@ -176,7 +176,9 @@ bool RootSignatureParser::ParseDescriptorTableClause() {
}
// Helper struct so that we can use the overloaded notation of std::visit
-template <class... Ts> struct ParseMethods : Ts... { using Ts::operator()...;
};
+template <class... Ts> struct ParseMethods : Ts... {
+ using Ts::operator()...;
+};
template <class... Ts> ParseMethods(Ts...) -> ParseMethods<Ts...>;
bool RootSignatureParser::ParseParam(ParamType Ref, TokenKind Context) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/122982
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits