-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc++] Fix signed overflow inside ranges::advance.
See LWG reflector thread of 2021-07-23 titled 'Question on ranges::advance and "past-the-sentinel iterators"'. Test case heavily based on one graciously provided by Casey Carter. Differential Revision: https://reviews.llvm.org/D106735
- Loading branch information
1 parent
69f3b36
commit f7ce387
Showing
2 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters