[libcxx-commits] [PATCH] D116992: [libc++][test] Move iter_swap into iterator.cust.swap. NFC.

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 10 21:48:21 PST 2022


jloser created this revision.
jloser added reviewers: ldionne, Quuxplusone, Mordante, var-const.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Move `iter_swap.pass.cpp` into a new subdirectory: `iterator.cust.swap`
for symmetry with the neighboring subdirectory `iterator.cust.move`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116992

Files:
  libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap.pass.cpp
  libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp


Index: libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
===================================================================
--- libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
+++ 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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116992.398836.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220111/b9e6355b/attachment.bin>


More information about the libcxx-commits mailing list