[libcxx-commits] [libcxx] [libc++] Extract destroy algorithms into separate headers (PR #126449)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Feb 9 16:59:13 PST 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 2e3729bf40040ac960153e893d670c58f94eac62 7f384850a7edbda3cf1c4d675c52e258449ba0b4 --extensions h -- libcxx/include/__memory/destroy.h libcxx/include/__memory/ranges_destroy.h libcxx/include/__format/buffer.h libcxx/include/__memory/construct_at.h libcxx/include/__memory/ranges_construct_at.h libcxx/include/__memory/shared_ptr.h libcxx/include/__memory/uninitialized_algorithms.h libcxx/include/__pstl/backends/libdispatch.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__memory/uninitialized_algorithms.h b/libcxx/include/__memory/uninitialized_algorithms.h
index 735ca020bc..d7f210d12a 100644
--- a/libcxx/include/__memory/uninitialized_algorithms.h
+++ b/libcxx/include/__memory/uninitialized_algorithms.h
@@ -19,9 +19,9 @@
#include <__iterator/iterator_traits.h>
#include <__iterator/reverse_iterator.h>
#include <__memory/addressof.h>
-#include <__memory/destroy.h>
#include <__memory/allocator_traits.h>
#include <__memory/construct_at.h>
+#include <__memory/destroy.h>
#include <__memory/pointer_traits.h>
#include <__type_traits/enable_if.h>
#include <__type_traits/extent.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/126449
More information about the libcxx-commits
mailing list