[all-commits] [llvm/llvm-project] 459b4b: [libc++] [API BREAK] Change `fs::path::iterator::i...

Quuxplusone via All-commits all-commits at lists.llvm.org
Mon Jan 17 13:42:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 459b4b725f52f0befd90312a326225eda6450233
      https://github.com/llvm/llvm-project/commit/459b4b725f52f0befd90312a326225eda6450233
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/include/__filesystem/path_iterator.h
    M libcxx/include/__iterator/reverse_iterator.h
    R libcxx/test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.verify.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list