[libcxx-commits] [libcxx] [libcxxabi] [libcxx][libcxxabi] Fix build for OpenBSD (PR #92186)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 14 15:02:38 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 5bf653ca42dceb8266a0ff70634292ccd2ad4c43 5579f64685c302c0873a7b0b0823f8d2a7856b6b -- libcxx/src/atomic.cpp libcxx/src/chrono.cpp libcxxabi/src/cxa_guard_impl.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/src/atomic.cpp b/libcxx/src/atomic.cpp
index e0a5be86da..c749835030 100644
--- a/libcxx/src/atomic.cpp
+++ b/libcxx/src/atomic.cpp
@@ -32,7 +32,7 @@
# include <sys/types.h>
# include <sys/umtx.h>
-# define _LIBCPP_FUTEX(...) syscall(SYS_futex, __VA_ARGS__)
+# define _LIBCPP_FUTEX(...) syscall(SYS_futex, __VA_ARGS__)
#elif defined(__OpenBSD__)
@@ -43,7 +43,7 @@
// Baseline needs no new headers
-# define _LIBCPP_FUTEX(...) syscall(SYS_futex, __VA_ARGS__)
+# define _LIBCPP_FUTEX(...) syscall(SYS_futex, __VA_ARGS__)
#endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/92186
More information about the libcxx-commits
mailing list