[all-commits] [llvm/llvm-project] ea2206: [libc++] Replace includes of <utility> with specif...
Quuxplusone via All-commits
all-commits at lists.llvm.org
Fri Feb 4 14:08:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea2206d70db1aaf1b0e2b01415292ec807108880
https://github.com/llvm/llvm-project/commit/ea2206d70db1aaf1b0e2b01415292ec807108880
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2022-02-04 (Fri, 04 Feb 2022)
Changed paths:
M libcxx/include/__algorithm/minmax.h
M libcxx/include/__algorithm/minmax_element.h
M libcxx/include/__algorithm/mismatch.h
M libcxx/include/__algorithm/move.h
M libcxx/include/__algorithm/move_backward.h
M libcxx/include/__algorithm/partition_copy.h
M libcxx/include/__algorithm/remove_if.h
M libcxx/include/__algorithm/search.h
M libcxx/include/__algorithm/unique_copy.h
M libcxx/include/__functional/bind_front.h
M libcxx/include/__functional/default_searcher.h
M libcxx/include/__functional/function.h
M libcxx/include/__functional/identity.h
M libcxx/include/__functional/mem_fn.h
M libcxx/include/__functional/not_fn.h
M libcxx/include/__functional/ranges_operations.h
M libcxx/include/__iterator/iter_move.h
M libcxx/include/__memory/allocation_guard.h
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__memory/construct_at.h
M libcxx/include/__memory/raw_storage_iterator.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory/temporary_buffer.h
M libcxx/include/__memory/uninitialized_algorithms.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/algorithm
M libcxx/include/iterator
Log Message:
-----------
[libc++] Replace includes of <utility> with specific detail headers
Basically a rebase of D104980; most of that patch had already happened
via gradual drive-by changes, but this finishes it up.
Don't touch the inclusions from `<__functional_base>`, `<__hash_table>`,
or `<__locale>`; those could be removed if we propagated the
inclusions up to the includers of those files, but there are lots
of those includers.
`<algorithm>`, `<functional>`, and `<memory>` already include `<utility>`
at the top level. `<iterator>` did not, so I've added it there.
Differential Revision: https://reviews.llvm.org/D119020
More information about the All-commits
mailing list