Commit History

Author SHA1 Message Date
  Eric Fiselier 293b83d6e6 Fix PR39458 _LIBCPP_DEBUG breaks heterogeneous compare. 6 years ago
  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 years ago
  Louis Dionne 13cf3b9b36 [libc++] Add deprecated attributes to many deprecated components 7 years ago
  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 years ago
  Marshall Clow 53c8e25037 Fix PR# 38900 - don't call swap inside of random_shuffle when we'd be swapping an element with itself 7 years ago
  Eric Fiselier c39fe08b20 Add diagnostics for min/max algorithms when a InputIterator is used. 7 years ago
  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 years ago
  Vitaly Buka 245791ae73 Revert "Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815" 7 years ago
  Marshall Clow fbd46738b1 Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 7 years ago
  Marshall Clow 0d0b972927 Mark __equal_to 's operations as constexpr. 7 years ago
  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 years ago
  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 years ago
  Peter Collingbourne 27c341db41 Fix the BinaryPredicate form of std::is_permutation to not rely on operator== 7 years ago
  Marshall Clow 5b12e3bdb4 Last batch of P0202 constexpr additions: includes/set_intersection/exchange 7 years ago
  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 years ago
  Marshall Clow a15161a030 Still more P0202 constexpr-ifying. This batch is: for_each/for_each_n/lexicographical_compare 7 years ago
  Marshall Clow 48a4655868 More P0202 constexpr work. This commit adds fill/fill_n/generate/generate_n/unique/unique_copy. I removed a specialization of fill_n that recognized when we were dealing with raw pointers and 1 byte trivially-assignable types and did a memset, because the compiler will do that optimization for us. 7 years ago
  Marshall Clow a75d61347e More P0202 constexpr-ifying in <algorithm>. This commit handles replace/replace_if/replace_copy/replace_copy_if. 7 years ago
  Marshall Clow ecd1909f5f More P0202 constexpr-ifying in <algorithm>. This commit handles 'transform'. 7 years ago
  Marshall Clow d6082200f6 More constexpr algorithms from P0202. search/search_n 7 years ago
  Marshall Clow 39b886259e More constexpr algorithms from P0202: lower_bound, upper_bound, equal_range, binary_search 7 years ago
  Marshall Clow 4cd596538b More constexpr (re P0202) - equal and mismatch 7 years ago
  Marshall Clow 0dc8ca7729 More constexpr from P0202. count and count_if. Also fix a comment that Morwenn noted. 7 years ago
  Marshall Clow 6a1c2ffea4 More P0202 constexpr-ifying. All the find_XXX algorithms in this commit. 7 years ago
  Marshall Clow bb8010f6f2 partition_point gets the P0202 treatment 7 years ago
  Marshall Clow de4b2869d7 More constexpr algorithms from P0202. any_of/all_of/none_of. 7 years ago
  Marshall Clow 8d0d82585a First part of P0202: Adding constexpr modifiers to functions in <algorithm> and <utility>. This commit is all the is_XXX algorithms. 7 years ago
  Marshall Clow 334063336b Add the C++17 extensions to std::search. Include the default searcher, but not the Boyer-Moore or Boyer-Moore-Horspool searcher (yet). BUT put the BM and BMH tests in place, marked to XFAIL. The other searchers will follow soon 7 years ago
  Shoaib Meenai 54b78ffabb [libcxx] Fix intrinsics for MSVC 7 years ago
  Alexander Richardson e208d0895a Rename identifiers named `__output` 7 years ago