[libc++] [API BREAK] Change `fs::path::iterator::iterator_category` to `input_iterato...
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Sun, 2 Jan 2022 00:39:16 +0000 (19:39 -0500)
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Mon, 17 Jan 2022 21:33:23 +0000 (16:33 -0500)
commit459b4b725f52f0befd90312a326225eda6450233
tree5384861058c14b793fb1f28e005ae7ae14c69a6e
parent5820322cb1cb9df5f05a49ed9d86984c0ac7d28d
[libc++] [API BREAK] Change `fs::path::iterator::iterator_category` to `input_iterator_tag`.

This essentially reverts e02ed1c255d71 and puts in a new fix, which makes `path::iterator`
a true C++20 `bidirectional_iterator`, but downgrades it to an `input_iterator` in C++17.

Fixes #37852.

Differential Revision: https://reviews.llvm.org/D116489
libcxx/docs/ReleaseNotes.rst
libcxx/include/__filesystem/path_iterator.h
libcxx/include/__iterator/reverse_iterator.h
libcxx/test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.verify.cpp [deleted file]
libcxx/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp