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 HEAD~1 HEAD --extensions cpp -- compiler-rt/test/profile/Linux/coverage_short_circuit.cpp clang/lib/CodeGen/CoverageMappingGen.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/compiler-rt/test/profile/Linux/coverage_short_circuit.cpp b/compiler-rt/test/profile/Linux/coverage_short_circuit.cpp index cc4022bc3..54f0c4ceb 100644 --- a/compiler-rt/test/profile/Linux/coverage_short_circuit.cpp +++ b/compiler-rt/test/profile/Linux/coverage_short_circuit.cpp @@ -8,7 +8,7 @@ void foo() { // CHECK: [[@LINE]]| 1|void foo() { bool cond2 = true; // CHECK-NEXT: [[@LINE]]| 1| bool cond2 = true; if (cond1 && // CHECK-NEXT: [[@LINE]]| 1| if (cond1 && cond2) { // CHECK-NEXT: [[@LINE]]| 0| cond2) { - } // CHECK-NEXT: [[@LINE]]| 0| } + } // CHECK-NEXT: [[@LINE]]| 0| } } // CHECK-NEXT: [[@LINE]]| 1|} void bar() { // CHECK: [[@LINE]]| 1|void bar() { @@ -16,7 +16,7 @@ void bar() { // CHECK: [[@LINE]]| 1|void bar() { bool cond2 = false; // CHECK-NEXT: [[@LINE]]| 1| bool cond2 = false; if (cond1 && // CHECK-NEXT: [[@LINE]]| 1| if (cond1 && cond2) { // CHECK-NEXT: [[@LINE]]| 1| cond2) { - } // CHECK-NEXT: [[@LINE]]| 0| } + } // CHECK-NEXT: [[@LINE]]| 0| } } // CHECK-NEXT: [[@LINE]]| 1|} void baz() { // CHECK: [[@LINE]]| 1|void baz() { @@ -25,7 +25,7 @@ void baz() { // CHECK: [[@LINE]]| 1|void baz() { if (cond1 // CHECK-NEXT: [[@LINE]]| 1| if (cond1 && // CHECK-NEXT: [[@LINE]]| 0| && cond2) { // CHECK-NEXT: [[@LINE]]| 0| cond2) { - } // CHECK-NEXT: [[@LINE]]| 0| } + } // CHECK-NEXT: [[@LINE]]| 0| } } // CHECK-NEXT: [[@LINE]]| 1|} int main() { `````````` </details> https://github.com/llvm/llvm-project/pull/149085 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits