[all-commits] [llvm/llvm-project] 25666a: [libc++] Remove "pass by const value" in <random>....
Quuxplusone via All-commits
all-commits at lists.llvm.org
Mon Jul 26 13:42:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 25666a74c5af05ae6b189ad4f7382d351fb8698f
https://github.com/llvm/llvm-project/commit/25666a74c5af05ae6b189ad4f7382d351fb8698f
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M libcxx/include/random
Log Message:
-----------
[libc++] Remove "pass by const value" in <random>. NFCI.
Commit: 41b17c444df647ce46609d8efb57a98d35704c63
https://github.com/llvm/llvm-project/commit/41b17c444df647ce46609d8efb57a98d35704c63
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M libcxx/include/__iterator/advance.h
M libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/iterator_count_sentinel.pass.cpp
Log Message:
-----------
[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
Compare: https://github.com/llvm/llvm-project/compare/e95cd94f7edf...41b17c444df6
More information about the All-commits
mailing list