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 2a28c47e53009b0ab5506deae34176d56b95e8c2 
7cca42199cf0bae1b5648ff6b1dcc42677001548 --extensions cpp,h -- 
llvm/include/llvm/IR/PatternMatch.h llvm/lib/Analysis/InstructionSimplify.cpp 
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp 
llvm/unittests/IR/PatternMatch.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/unittests/IR/PatternMatch.cpp 
b/llvm/unittests/IR/PatternMatch.cpp
index d7cb004626..4878b39be5 100644
--- a/llvm/unittests/IR/PatternMatch.cpp
+++ b/llvm/unittests/IR/PatternMatch.cpp
@@ -2420,8 +2420,9 @@ TEST_F(PatternMatchTest, ConstExpr) {
 }
 
 // PatternMatchTest parametrized by byte width.
-class PatternMatchByteParamTest : public PatternMatchTest,
-                             public ::testing::WithParamInterface<unsigned> {
+class PatternMatchByteParamTest
+    : public PatternMatchTest,
+      public ::testing::WithParamInterface<unsigned> {
 public:
   PatternMatchByteParamTest() {
     M->setDataLayout("b:" + std::to_string(GetParam()));

``````````

</details>


https://github.com/llvm/llvm-project/pull/106540
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to