[all-commits] [llvm/llvm-project] 41bdf6: [libc++] Update all the pre-defined iterator types...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon May 31 08:57:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41bdf64d3e94f56870b07bed579ff2a54f0f1ca6
      https://github.com/llvm/llvm-project/commit/41bdf64d3e94f56870b07bed579ff2a54f0f1ca6
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
    M libcxx/include/__memory/raw_storage_iterator.h
    M libcxx/include/iterator
    M libcxx/include/memory
    M libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/default.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/iterator_concept_conformance.compile.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/types.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/default.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/iterator_concept_conformance.compile.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/types.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/default.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/iterator_concept_conformance.compile.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/types.pass.cpp
    M libcxx/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp
    M libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/types.pass.cpp
    M libcxx/test/std/iterators/stream.iterators/ostream.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/default.pass.cpp
    M libcxx/test/std/iterators/stream.iterators/ostream.iterator/types.pass.cpp
    M libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/default.pass.cpp
    M libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/types.pass.cpp
    M libcxx/test/std/utilities/memory/storage.iterator/types.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Update all the pre-defined iterator types for C++20

Make sure we provide the correct It::difference_type member and update
the tests and synopses to be accurate.

Supersedes D102657 and D103101 (thanks to the original authors).

Differential Revision: https://reviews.llvm.org/D103273




More information about the All-commits mailing list