[all-commits] [llvm/llvm-project] 553ab7: [libc++] Remove operator-> from iterator archetype...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Mar 10 12:52:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 553ab7a090dce9d04f4569a99761fa5917df54a3
      https://github.com/llvm/llvm-project/commit/553ab7a090dce9d04f4569a99761fa5917df54a3
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M libcxx/test/std/iterators/predef.iterators/iterators.common/arrow.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/iterators.common/iterator_traits.compile.pass.cpp
    M libcxx/test/support/test_iterators.h

  Log Message:
  -----------
  [libc++] Remove operator-> from iterator archetypes that don't need it

operator-> is not a requirement for most iterators, so remove it. To
account for this change, the `common_iterator.operator->` test needs to
be refactored quite a bit -- improve test coverage while we're at it.

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




More information about the All-commits mailing list