[libcxx-commits] [libcxxabi] [libc++abi] Replace usage of raw assert by _LIBCXXABI_ASSERT (PR #80689)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 5 06:47:09 PST 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 daea0820829bf5bbca9ab50fc118012a2508fab3 cca54ee4ba6813c17fac3550340ac3c79cbe8186 -- libcxxabi/src/private_typeinfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxxabi/src/private_typeinfo.cpp b/libcxxabi/src/private_typeinfo.cpp
index 5c68f3e994..47325494ff 100644
--- a/libcxxabi/src/private_typeinfo.cpp
+++ b/libcxxabi/src/private_typeinfo.cpp
@@ -47,8 +47,8 @@
#include "abort_message.h"
#ifdef _LIBCXXABI_FORGIVING_DYNAMIC_CAST
-#include <sys/syslog.h>
-#include <atomic>
+# include <sys/syslog.h>
+# include <atomic>
#endif
static inline
``````````
</details>
https://github.com/llvm/llvm-project/pull/80689
More information about the libcxx-commits
mailing list