aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include
diff options
context:
space:
mode:
authorConnector Switch <c8ef@outlook.com>2025-10-21 23:03:09 +0800
committerGitHub <noreply@github.com>2025-10-21 15:03:09 +0000
commitabf80b54bc752dc44f821da1fa9d2d3117a3c8c0 (patch)
tree6189352b1994a94cd8647e93f15f3f18973a1d3e /libcxx/include
parent550b62cbcbcb1ec8ec16c2dc0812bc23383962d6 (diff)
downloadllvm-abf80b54bc752dc44f821da1fa9d2d3117a3c8c0.zip
llvm-abf80b54bc752dc44f821da1fa9d2d3117a3c8c0.tar.gz
llvm-abf80b54bc752dc44f821da1fa9d2d3117a3c8c0.tar.bz2
[libc++][IWYU] Remove `std::move` header in `std::for_each` (#164272)
It seems this was accidentally included; there's no use of std::move in this header.
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/__algorithm/for_each.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libcxx/include/__algorithm/for_each.h b/libcxx/include/__algorithm/for_each.h
index e31fcae..6fb66d2 100644
--- a/libcxx/include/__algorithm/for_each.h
+++ b/libcxx/include/__algorithm/for_each.h
@@ -16,15 +16,11 @@
#include <__iterator/segmented_iterator.h>
#include <__type_traits/enable_if.h>
#include <__type_traits/invoke.h>
-#include <__utility/move.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif
-_LIBCPP_PUSH_MACROS
-#include <__undef_macros>
-
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _InputIterator, class _Sent, class _Func, class _Proj>
@@ -60,6 +56,4 @@ for_each(_InputIterator __first, _InputIterator __last, _Func __f) {
_LIBCPP_END_NAMESPACE_STD
-_LIBCPP_POP_MACROS
-
#endif // _LIBCPP___ALGORITHM_FOR_EACH_H