diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2022-01-25 23:36:55 -0500 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2022-01-31 14:14:26 -0500 |
commit | bf150e8dabb1efeffcdd5ba643126475b5286c83 (patch) | |
tree | 050588d8461f353c8ac89534c3ebf014d6312950 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | afaaecc88c6e5989de8a6a0266610860ef99d9d6 (diff) | |
download | llvm-bf150e8dabb1efeffcdd5ba643126475b5286c83.zip llvm-bf150e8dabb1efeffcdd5ba643126475b5286c83.tar.gz llvm-bf150e8dabb1efeffcdd5ba643126475b5286c83.tar.bz2 |
[libc++] [ranges] ADL-proof ranges::iter_{swap,move}.
As discovered in D117817, `std::ranges::input_range<Holder<Incomplete>*[10]>`
hard-errored before this patch. That's because `input_range` requires
`iter_rvalue_reference_t`, which requires `iter_move`, which was
not ADL-proofed.
Add ADL-proofing tests to all the range refinements.
`output_range` and `common_range` shouldn't be affected,
and all the others subsume `input_range` anyway, but we might as
well be thorough.
Differential Revision: https://reviews.llvm.org/D118213
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions