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

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 29 09:00:11 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Hristo Hristov (H-G-Hristov)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/173879.diff


1 Files Affected:

- (modified) libcxx/include/__iterator/iter_move.h (+1-1) 


``````````diff
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));
 };
 

``````````

</details>


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


More information about the libcxx-commits mailing list