[libcxx-commits] [PATCH] D106735: [libc++] Fix signed overflow inside ranges::advance.
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 23 19:20:41 PDT 2021
Quuxplusone created this revision.
Quuxplusone added reviewers: ldionne, cjdb, libc++.
Quuxplusone added a project: libc++.
Quuxplusone requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added 1 blocking reviewer(s): libc++.
See LWG reflector thread titled 'Question on ranges::advance and "past-the-sentinel iterators"',
from 2021-07-23.
Test case heavily based on one graciously provided by Casey Carter.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106735
Files:
libcxx/include/__iterator/advance.h
libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106735.361403.patch
Type: text/x-patch
Size: 4370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210724/a1e6e64d/attachment.bin>
More information about the libcxx-commits
mailing list