[libcxx-commits] [libcxx] [libc++][test] Refactor tests for std::{copy, move, fill} algorithms (PR #120909)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Feb 9 12:41:18 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 c89735d289f341985ca2ea74486b96bc611b3c64 338f0023ddb99d47e843c5ea68214ce28311d2bc --extensions cpp -- libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/pstl.copy.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/pstl.copy_n.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_n.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.fill.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.fill_n.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.move.pass.cpp
``````````

</details>

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

``````````diff
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
index fa0c05572a..98c412fb6c 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
@@ -24,7 +24,7 @@
 #include "test_iterators.h"
 #include "type_algorithms.h"
 #include "user_defined_integral.h"
- 
+
 typedef UserDefinedIntegral<unsigned> UDI;
 
 template <class Iter, class Container>

``````````

</details>


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


More information about the libcxx-commits mailing list