[libc-commits] [libc] [libc] Fix Darwin aarch64 fenv and sigsetjmp build support (PR #192079)
via libc-commits
libc-commits at lists.llvm.org
Wed Apr 15 18:22:23 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/include/llvm-libc-macros/darwin/signal-macros.h libc/src/signal/darwin/sigaddset.cpp libc/src/signal/darwin/sigdelset.cpp libc/src/signal/darwin/sigemptyset.cpp libc/src/signal/darwin/sigfillset.cpp libc/src/signal/darwin/sigprocmask.cpp libc/include/llvm-libc-macros/signal-macros.h libc/include/llvm-libc-types/__jmp_buf.h libc/src/__support/FPUtil/aarch64/fenv_darwin_impl.h libc/src/setjmp/aarch64/sigsetjmp.cpp libc/src/setjmp/darwin/sigsetjmp_epilogue.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/src/signal/darwin/sigaddset.cpp b/libc/src/signal/darwin/sigaddset.cpp
index 2f005adc7..67cf856a6 100644
--- a/libc/src/signal/darwin/sigaddset.cpp
+++ b/libc/src/signal/darwin/sigaddset.cpp
@@ -1,4 +1,5 @@
-//===-- Darwin implementation of sigaddset ---------------------------------===//
+//===-- Darwin implementation of sigaddset
+//---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/libc/src/signal/darwin/sigdelset.cpp b/libc/src/signal/darwin/sigdelset.cpp
index d0d4f40cb..3331e1c34 100644
--- a/libc/src/signal/darwin/sigdelset.cpp
+++ b/libc/src/signal/darwin/sigdelset.cpp
@@ -1,4 +1,5 @@
-//===-- Darwin implementation of sigdelset ---------------------------------===//
+//===-- Darwin implementation of sigdelset
+//---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/libc/src/signal/darwin/sigemptyset.cpp b/libc/src/signal/darwin/sigemptyset.cpp
index bbb1a681d..34daef274 100644
--- a/libc/src/signal/darwin/sigemptyset.cpp
+++ b/libc/src/signal/darwin/sigemptyset.cpp
@@ -1,4 +1,5 @@
-//===-- Darwin implementation of sigemptyset -------------------------------===//
+//===-- Darwin implementation of sigemptyset
+//-------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/libc/src/signal/darwin/sigfillset.cpp b/libc/src/signal/darwin/sigfillset.cpp
index 42a6aad9b..923a1e810 100644
--- a/libc/src/signal/darwin/sigfillset.cpp
+++ b/libc/src/signal/darwin/sigfillset.cpp
@@ -1,4 +1,5 @@
-//===-- Darwin implementation of sigfillset --------------------------------===//
+//===-- Darwin implementation of sigfillset
+//--------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/libc/src/signal/darwin/sigprocmask.cpp b/libc/src/signal/darwin/sigprocmask.cpp
index dc4d6ca74..0aface5df 100644
--- a/libc/src/signal/darwin/sigprocmask.cpp
+++ b/libc/src/signal/darwin/sigprocmask.cpp
@@ -1,4 +1,5 @@
-//===-- Darwin implementation of sigprocmask -------------------------------===//
+//===-- Darwin implementation of sigprocmask
+//-------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
``````````
</details>
https://github.com/llvm/llvm-project/pull/192079
More information about the libc-commits
mailing list