Louis Dionne
|
106db235ed
[libc++] Integrate the PSTL into libc++
|
6 年 前 |
Marshall Clow
|
3c73561841
Reorganize the 'bit' header to make most of the facilities available for internal use pre-C++20. NFC for external users
|
6 年 前 |
Eric Fiselier
|
3f10018902
Make move and forward work in C++03.
|
6 年 前 |
Thomas Anderson
|
a12cb9d211
[libc++] Make __debug_less::operator() constexpr
|
6 年 前 |
Thomas Anderson
|
9b96c3dbd4
[libc++] Fix build failure with _LIBCPP_DEBUG=0 when iterators return values instead of references
|
6 年 前 |
Eric Fiselier
|
ef753e35b1
Cleanup how debug comparators are created in <algorithm>
|
6 年 前 |
Nico Weber
|
fbddc46986
libcxx: Add _LIBCPP_NODISCARD_EXT to 38 more functions
|
6 年 前 |
Eric Fiselier
|
975cb9a721
Fix PR41017 - Build failure with _LIBCPP_DEBUG=0 and non-const-ref
|
6 年 前 |
Marshall Clow
|
4f9dc4d9cf
Add a specialization for '__unwrap_iter' to handle const interators. This enables the 'memmove' optimization for std::copy, etc.
|
6 年 前 |
Marshall Clow
|
e7e7b2e6bd
D14686: 'Protect against overloaded comma in random_shuffle and improve tests' I had to cut back on the tests with this, because they were not C++03 friendly. Thanks to gribozavr for the patch
|
6 年 前 |
Chandler Carruth
|
7c3769df62
Update more file headers across all of the LLVM projects in the monorepo
|
6 年 前 |
Louis Dionne
|
8f7fa38fb9
[libcxx] Speeding up partition_point/lower_bound/upper_bound
|
6 年 前 |
Louis Dionne
|
507fe4022b
[libcxx] Make sure we can build with -fvisibility=hidden on Linux
|
6 年 前 |
Louis Dionne
|
5dc37768e2
Revert "Bug 39129: Speeding up partition_point/lower_bound/upper_bound/ by using unsigned division by 2 when possible."
|
6 年 前 |
Eric Fiselier
|
207b919735
Bug 39129: Speeding up partition_point/lower_bound/upper_bound/ by using unsigned division by 2 when possible.
|
6 年 前 |
Eric Fiselier
|
293b83d6e6
Fix PR39458 _LIBCPP_DEBUG breaks heterogeneous compare.
|
6 年 前 |
Marshall Clow
|
c7cc66995c
Do the math in uniform_int_distribution::operator() as unsigned to prevent UB when overflowing. Also add a UBSAN notification that we're ffine with unsigned overflow. This fixes PR#32617. Thanks to Vincent & Christoph for their help with this issue.
|
6 年 前 |
Louis Dionne
|
13cf3b9b36
[libc++] Add deprecated attributes to many deprecated components
|
7 年 前 |
Marshall Clow
|
e3973fd962
Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955
|
7 年 前 |
Marshall Clow
|
53c8e25037
Fix PR# 38900 - don't call swap inside of random_shuffle when we'd be swapping an element with itself
|
7 年 前 |
Eric Fiselier
|
c39fe08b20
Add diagnostics for min/max algorithms when a InputIterator is used.
|
7 年 前 |
Marshall Clow
|
6c372355ba
Recommit r339943 - Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 - with a fix for the sanitizer bots
|
7 年 前 |
Vitaly Buka
|
245791ae73
Revert "Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815"
|
7 年 前 |
Marshall Clow
|
fbd46738b1
Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815
|
7 年 前 |
Marshall Clow
|
0d0b972927
Mark __equal_to 's operations as constexpr.
|
7 年 前 |
Marshall Clow
|
c005c7e34c
Make internal class __wrap_iter constexpr when not using libc++'s debugging mode. Introduce a new macro _LIBCPP_CONSTEXPR_IF_NODEBUG to mark this.
|
7 年 前 |
Marshall Clow
|
f477af5fda
Fix misleading indentation; replace a couple of NULLs with nullptr. Resolves https://reviews.llvm.org/D42945 ; thanks to Bruce Mitchener for the patch.
|
7 年 前 |
Peter Collingbourne
|
27c341db41
Fix the BinaryPredicate form of std::is_permutation to not rely on operator==
|
7 年 前 |
Marshall Clow
|
5b12e3bdb4
Last batch of P0202 constexpr additions: includes/set_intersection/exchange
|
7 年 前 |
Marshall Clow
|
63be4189d8
Another batch of P0202 constepr algirithms. remove/remove_if/remove_copy/remove_copy_if/reverse_copy, and tests (commented out) for rotate_copy, because that depends on std::copy
|
7 年 前 |