[libcxx-commits] [libcxx] 0d1365e - [libc++][test] Move iter_swap into iterator.cust.swap. NFC.
Joe Loser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 11 16:59:01 PST 2022
Author: Joe Loser
Date: 2022-01-11T19:56:35-05:00
New Revision: 0d1365e380b5459c1cc32a2ab5ad90a0141c95a2
URL: https://github.com/llvm/llvm-project/commit/0d1365e380b5459c1cc32a2ab5ad90a0141c95a2
DIFF: https://github.com/llvm/llvm-project/commit/0d1365e380b5459c1cc32a2ab5ad90a0141c95a2.diff
LOG: [libc++][test] Move iter_swap into iterator.cust.swap. NFC.
Move `iter_swap.pass.cpp` into a new subdirectory: `iterator.cust.swap`
for symmetry with the neighboring subdirectory `iterator.cust.move`.
Differential Revision: https://reviews.llvm.org/D116992
Added:
libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
Modified:
Removed:
libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp
################################################################################
diff --git a/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
similarity index 99%
rename from libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp
rename to libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
index 1d578a9ea126c..3386e72c9195e 100644
--- a/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp
+++ b/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
@@ -17,7 +17,7 @@
#include <array>
#include <cassert>
-#include "./unqualified_lookup_wrapper.h"
+#include "../unqualified_lookup_wrapper.h"
#include "test_iterators.h"
using IterSwapT = decltype(std::ranges::iter_swap);
More information about the libcxx-commits
mailing list