[all-commits] [llvm/llvm-project] 8d151f: [libc++] Check correctly ref-qualified __is_callab...
Nhat Nguyen via All-commits
all-commits at lists.llvm.org
Thu Aug 1 11:08:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d151f804ff43aaed1edf810bb2a07607b8bba14
https://github.com/llvm/llvm-project/commit/8d151f804ff43aaed1edf810bb2a07607b8bba14
Author: Nhat Nguyen <nhat7203 at gmail.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M libcxx/include/__algorithm/equal_range.h
M libcxx/include/__algorithm/includes.h
M libcxx/include/__algorithm/is_permutation.h
M libcxx/include/__algorithm/lower_bound.h
M libcxx/include/__algorithm/max_element.h
M libcxx/include/__algorithm/min_element.h
M libcxx/include/__algorithm/minmax.h
M libcxx/include/__algorithm/minmax_element.h
M libcxx/include/__algorithm/partial_sort_copy.h
M libcxx/include/__algorithm/search.h
M libcxx/include/__algorithm/search_n.h
M libcxx/include/__algorithm/upper_bound.h
M libcxx/src/regex.cpp
A libcxx/test/libcxx/algorithms/callable-requirements-rvalue.compile.pass.cpp
A libcxx/test/libcxx/algorithms/callable-requirements.verify.cpp
R libcxx/test/libcxx/algorithms/callable.verify.cpp
M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
M libcxx/test/libcxx/algorithms/robust_against_cpp20_hostile_iterators.compile.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/is_permutation_pred.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_pred.pass.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort_comp.pass.cpp
Log Message:
-----------
[libc++] Check correctly ref-qualified __is_callable in algorithms (#73451)
We were only checking that the comparator was rvalue callable,
when in reality the algorithms always call comparators as lvalues.
This patch also refactors the tests for callable requirements and
expands it to a few missing algorithms.
Fixes #69554
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list