[all-commits] [llvm/llvm-project] 2d653b: [libcxx][test] array and basic_string_view iterato...

Casey Carter via All-commits all-commits at lists.llvm.org
Mon Feb 21 10:54:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d653b7e5b351b152b2c2bddef93c75f84042e15
      https://github.com/llvm/llvm-project/commit/2d653b7e5b351b152b2c2bddef93c75f84042e15
  Author: Casey Carter <Casey at Carter.net>
  Date:   2022-02-21 (Mon, 21 Feb 2022)

  Changed paths:
    M libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp
    M libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_move.pass.cpp
    M libcxx/test/std/strings/string.view/string.view.cons/from_iterator_sentinel.pass.cpp
    M libcxx/test/std/strings/string.view/string.view.deduct/iterator_sentinel.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/advance_to.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/begin.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/end.pass.cpp

  Log Message:
  -----------
  [libcxx][test] array and basic_string_view iterators are not portably pointers

Fixup tests that believe them to be so. Most notably including some heavy refactoring in `std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp`, which now detects pointers and validates that `iterator_concept` is present only for pointers.

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




More information about the All-commits mailing list