[libc] [llvm] [libc[ Implement `execle` (PR #217213)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 22:13:44 PDT 2026


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 origin/main HEAD --extensions cpp,h -- libc/src/unistd/execle.h libc/src/unistd/linux/execle.cpp libc/test/integration/src/unistd/execle_test.cpp libc/test/integration/src/unistd/execle_test_normal_exit.cpp libc/test/integration/src/unistd/execle_test_signal_exit.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/libc/test/integration/src/unistd/execle_test.cpp b/libc/test/integration/src/unistd/execle_test.cpp
index 2fde4c7a0..e53c51b4e 100644
--- a/libc/test/integration/src/unistd/execle_test.cpp
+++ b/libc/test/integration/src/unistd/execle_test.cpp
@@ -49,7 +49,8 @@ void fork_and_execle_signal_exit(char **envp) {
   ASSERT_TRUE(WTERMSIG(status) == SIGUSR1);
 }
 
-TEST_MAIN([[maybe_unused]] int argc, [[maybe_unused]] char **argv, char **envp) {
+TEST_MAIN([[maybe_unused]] int argc, [[maybe_unused]] char **argv,
+          char **envp) {
   fork_and_execle_normal_exit(envp);
   fork_and_execle_signal_exit(envp);
   return 0;

``````````

</details>


https://github.com/llvm/llvm-project/pull/217213


More information about the llvm-commits mailing list