[all-commits] [llvm/llvm-project] 339124: [libc++] Fix ranges::binary_search() returning tru...
philnik777 via All-commits
all-commits at lists.llvm.org
Tue Mar 7 08:23:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 33912468a7dbd2cdef3648878ccd6b8f99e0b5bf
https://github.com/llvm/llvm-project/commit/33912468a7dbd2cdef3648878ccd6b8f99e0b5bf
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M libcxx/include/__algorithm/ranges_binary_search.h
M libcxx/test/std/algorithms/alg.sorting/alg.binary.search/binary.search/ranges.binary_search.pass.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.binary.search/lower.bound/ranges.lower_bound.pass.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.binary.search/upper.bound/ranges.upper_bound.pass.cpp
Log Message:
-----------
[libc++] Fix ranges::binary_search() returning true for cases where the element is not in the range
Fixes #61160
Reviewed By: ldionne, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D145287
More information about the All-commits
mailing list