[all-commits] [llvm/llvm-project] c6b192: [libc++][test] Do not assume array::iterator is a ...

nicole mazzuca via All-commits all-commits at lists.llvm.org
Tue Jul 30 02:29:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6b192ac2e1441b3484781488adef2986408ebdf
      https://github.com/llvm/llvm-project/commit/c6b192ac2e1441b3484781488adef2986408ebdf
  Author: nicole mazzuca <nicole at strega-nil.co>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp
    M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if.pass.cpp
    M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if_not.pass.cpp
    M libcxx/test/support/test_iterators.h

  Log Message:
  -----------
  [libc++][test] Do not assume array::iterator is a pointer (#100603)

In the tests I added for `ranges::find_last{_if{_not}}`, I accidentally
introduced an assumption that `same_as<array<T, 0>::iterator, T*>`; this
is a faulty assumption on MSVC-STL.

Fixes #100498.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list