[all-commits] [llvm/llvm-project] a35629: [libc++] Remove assumptions that std::array::itera...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Dec 18 07:01:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a35629cd8de18387c6f9d1be9111d517df88554a
https://github.com/llvm/llvm-project/commit/a35629cd8de18387c6f9d1be9111d517df88554a
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M libcxx/include/__format/buffer.h
M libcxx/include/__format/formatter_integral.h
M libcxx/include/__format/formatter_output.h
M libcxx/test/libcxx/input.output/iostream.format/print.fun/transcoding.pass.cpp
M libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp
M libcxx/test/std/containers/sequences/array/types.pass.cpp
M libcxx/test/std/containers/views/views.span/span.cons/iterator_sentinel.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.floating_point.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.pointer.pass.cpp
Log Message:
-----------
[libc++] Remove assumptions that std::array::iterator is a raw pointer (#74624)
This patch removes assumptions that std::array's iterators are raw
pointers in the source code and in our test suite. While this is true
right now, this doesn't have to be true and ion the future we might want
to enable bounded iterators in std::array, which would require this
change.
This is a pre-requisite for landing #74482
More information about the All-commits
mailing list