[libc-commits] [libc] [libc] Add compile tests for each public header (PR #122527)
via libc-commits
libc-commits at lists.llvm.org
Fri Jan 10 13:31:14 PST 2025
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 3fbc344b49800bb0f70fd5af46c0a47f6d55bbd1 91da76ce4d46f558194888181e323bebb6668912 --extensions c -- libc/test/include/header-test-template.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/test/include/header-test-template.c b/libc/test/include/header-test-template.c
index c3921b1403..c56a1ab013 100644
--- a/libc/test/include/header-test-template.c
+++ b/libc/test/include/header-test-template.c
@@ -10,6 +10,7 @@
#ifdef __cplusplus
extern "C"
#endif
-int main(void) {
+ int
+ main(void) {
return 0;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/122527
More information about the libc-commits
mailing list