[libcxx-commits] [libcxx] [libc++][iterator][NFC] Fixed copy&paste mistake in comment (PR #173879)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 29 08:59:38 PST 2025


https://github.com/H-G-Hristov created https://github.com/llvm/llvm-project/pull/173879

None

>From 771545fc5a92143ab8505f8f712e7816cb238d98 Mon Sep 17 00:00:00 2001
From: Hristo Hristov <hghristov.rmm at gmail.com>
Date: Mon, 29 Dec 2025 18:59:14 +0200
Subject: [PATCH] [libc++][iterator][NFC] Fixed copy&paste mistake in comment

---
 libcxx/include/__iterator/iter_move.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcxx/include/__iterator/iter_move.h b/libcxx/include/__iterator/iter_move.h
index 5cc16152593c3..a726b6e329e90 100644
--- a/libcxx/include/__iterator/iter_move.h
+++ b/libcxx/include/__iterator/iter_move.h
@@ -40,7 +40,7 @@ void iter_move() = delete;
 
 template <class _Tp>
 concept __unqualified_iter_move = __class_or_enum<remove_cvref_t<_Tp>> && requires(_Tp&& __t) {
-  // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swap
+  // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_move
   iter_move(std::forward<_Tp>(__t));
 };
 



More information about the libcxx-commits mailing list