[all-commits] [llvm/llvm-project] 57ebf3: [libc++] Re-apply `std::indirectly_readable` and `...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Apr 22 08:25:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57ebf3d0087a8f988fac2409d04c953b850cb05f
      https://github.com/llvm/llvm-project/commit/57ebf3d0087a8f988fac2409d04c953b850cb05f
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/incrementable_traits.h
    M libcxx/include/__iterator/iter_move.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/__iterator/readable_traits.h
    M libcxx/include/iterator
    A libcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.map/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.multimap/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.multiset/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/input.output/filesystems/class.directory_iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp
    A libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/istream.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/ostream.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/re/re.iter/re.tokiter/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/utilities/memory/unique.ptr/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp
    A libcxx/test/support/read_write.h

  Log Message:
  -----------
  [libc++] Re-apply `std::indirectly_readable` and `std::indirectly_writable`

That was originally committed in 04733181b513 and then reverted in
a9f11cc0d965 because it broke several people.

The problem was a missing include of __iterator/concepts.h, which has now
been fixed.

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




More information about the All-commits mailing list