[libcxx-commits] [libcxx] [libc++] fixing missing forward declarations of uses_allocator_construction_args (PR #67044)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 22 05:33:44 PDT 2023


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 3dc28e6c6a0c203a928d64e076ed162215e6ba3f 805a8c9bc71046fea387d00a2317aac563b23243 -- libcxx/include/__memory/uses_allocator_construction.h libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/common.h libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/uses_allocator_construction_args.pass.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/uses_allocator_construction_args.pass.cpp b/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/uses_allocator_construction_args.pass.cpp
index f9b09e632cbf..a6c1605b8002 100644
--- a/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/uses_allocator_construction_args.pass.cpp
+++ b/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/uses_allocator_construction_args.pass.cpp
@@ -121,10 +121,10 @@ constexpr bool test() {
   }
   {
     [[maybe_unused]] std::same_as<std::tuple<std::piecewise_construct_t,
-                            std::tuple<const std::allocator<nestedPairType>&>,
-                            std::tuple<std::piecewise_construct_t,
-                                       std::tuple<const std::allocator<nestedPairType>&>,
-                                       std::tuple<const std::allocator<nestedPairType>&> >>> auto ret =
+                                             std::tuple<const std::allocator<nestedPairType>&>,
+                                             std::tuple<std::piecewise_construct_t,
+                                                        std::tuple<const std::allocator<nestedPairType>&>,
+                                                        std::tuple<const std::allocator<nestedPairType>&> >>> auto ret =
         test_uses_allocator_construction_args<nestedPairType>(alloc);
   }
 #if TEST_STD_VER >= 23

``````````

</details>


https://github.com/llvm/llvm-project/pull/67044


More information about the libcxx-commits mailing list