[libcxx-commits] [libcxx] [libc++] stddef.h needs to #include_next for the new clang __need_ macros (PR #86252)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 26 17:28:08 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 54a9f0e441c7cc3c954d24cfde00cb933306a9e9 7430ccdf8ae805848f235b27a1edbcf0a47f8be1 -- libcxx/test/libcxx/language.support/support.c.headers/support.c.headers.other/stddef.verify.cpp libcxx/test/libcxx/language.support/support.c.headers/support.c.headers.other/stddef_needs.verify.cpp libcxx/include/stddef.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/stddef.h b/libcxx/include/stddef.h
index 485eee7b38..b77f14e77e 100644
--- a/libcxx/include/stddef.h
+++ b/libcxx/include/stddef.h
@@ -23,7 +23,7 @@
# include_next <stddef.h>
# ifdef __cxx_need_nullptr_t
-# include <__config>
+# include <__config>
typedef decltype(nullptr) nullptr_t;
# undef __cxx_need_nullptr_t
# endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/86252
More information about the libcxx-commits
mailing list