diff options
| author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-05-19 11:54:31 -0400 |
|---|---|---|
| committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-05-24 17:30:21 -0400 |
| commit | fc9248877d07132981f2d598d3684de81d12d0b8 (patch) | |
| tree | 422eec0edf4a1c8415aa32cf6e76c1cf459c4b3d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 13dd65b3a1a3ac049b5f3a9712059f7c61649bea (diff) | |
[libc++] Assume that __wrap_iter always wraps a fancy pointer.
Not only do we conscientiously avoid using `__wrap_iter` for non-contiguous
iterators (in vector, string, span...) but also we make the assumption
(in regex) that `__wrap_iter<_Iter>` is contiguous for all `_Iter`.
So `__wrap_iter<reverse_iterator<int*>>` should be considered IFNDR,
and every `__wrap_iter` should correctly advertise contiguity in C++20.
Drive-by simplify some type traits.
Reviewed as part of https://reviews.llvm.org/D102781
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
