[libc-commits] [libc] [llvm] [libc][uefi] add testing (PR #147235)
via libc-commits
libc-commits at lists.llvm.org
Sun Jul 6 21:57:06 PDT 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 HEAD~1 HEAD --extensions cpp -- libc/src/__support/OSUtil/uefi/exit.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/__support/OSUtil/uefi/exit.cpp b/libc/src/__support/OSUtil/uefi/exit.cpp
index 20214a098..61d71dee2 100644
--- a/libc/src/__support/OSUtil/uefi/exit.cpp
+++ b/libc/src/__support/OSUtil/uefi/exit.cpp
@@ -15,8 +15,7 @@ namespace LIBC_NAMESPACE_DECL {
namespace internal {
[[noreturn]] void exit(int status) {
- app.system_table->BootServices->Exit(app.image_handle, status, 0,
- nullptr);
+ app.system_table->BootServices->Exit(app.image_handle, status, 0, nullptr);
__builtin_unreachable();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/147235
More information about the libc-commits
mailing list