[libc-commits] [libc] [libc] android atest compat (PR #93852)
via libc-commits
libc-commits at lists.llvm.org
Thu May 30 10:57:25 PDT 2024
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 6595e7fa1b5588f860aa057aac47c43623169584 3c0af50d73d46225bb8fa471b5e3b76bfaedb68a -- libc/test/UnitTest/LibcTest.cpp libc/test/UnitTest/LibcTest.h libc/test/UnitTest/LibcTestMain.cpp libc/test/utils/UnitTest/testfilter_test.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/test/UnitTest/LibcTest.cpp b/libc/test/UnitTest/LibcTest.cpp
index 52d1fdb8d5..50f12d88a8 100644
--- a/libc/test/UnitTest/LibcTest.cpp
+++ b/libc/test/UnitTest/LibcTest.cpp
@@ -129,7 +129,8 @@ void Test::addTest(Test *T) {
int Test::getNumTests() {
int N = 0;
- for (Test *T = Start; T; T = T->Next, ++N);
+ for (Test *T = Start; T; T = T->Next, ++N)
+ ;
return N;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/93852
More information about the libc-commits
mailing list