[all-commits] [llvm/llvm-project] 35f9fd: [libc++] Avoid dereferencing a const iterator in s...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu May 18 08:24:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35f9fd64350e5fffba727a9cb1df336ccb39d3be
https://github.com/llvm/llvm-project/commit/35f9fd64350e5fffba727a9cb1df336ccb39d3be
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
M libcxx/include/__algorithm/sort.h
M libcxx/test/libcxx/algorithms/alg.sorting/assert.sort.invalid_comparator.pass.cpp
R libcxx/test/libcxx/algorithms/alg.sorting/bad_comparator_values.dat
A libcxx/test/libcxx/algorithms/alg.sorting/bad_comparator_values.h
Log Message:
-----------
[libc++] Avoid dereferencing a const iterator in std::sort
This is a workaround to provide a grace period for folks that were
broken by D147089. As a fly-by, also apply comments by Mark I had
somehow missed in the review.
Differential Revision: https://reviews.llvm.org/D150779
More information about the All-commits
mailing list