Commit Graph

  • e59d098825 Revert "Implement LWG 2221 - No formatted output operator for nullptr." Volodymyr Sapsai 2018-09-19 23:31:34 +00:00
  • f06032bb0a Implement LWG 2221 - No formatted output operator for nullptr. Reviewed as https://reviews.llvm.org/D44263 Marshall Clow 2018-09-19 18:29:57 +00:00
  • 989927cc37 Don't require relops on variant alternatives to all return the same type. Eric Fiselier 2018-09-19 17:53:21 +00:00
  • 699cb5b3b8 Remove unused include of "verbose_assert.h" Marshall Clow 2018-09-19 02:27:44 +00:00
  • 35a0c2ce5e Fix typo Fangrui Song 2018-09-17 07:40:42 +00:00
  • 1755c75e7e Mark LWG#3102 as complete. No code changes, but I updated a test or two Marshall Clow 2018-09-13 02:23:52 +00:00
  • e3973fd962 Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955 Marshall Clow 2018-09-12 19:41:40 +00:00
  • 420ace6f28 Actually mark LWG#2953, don't just say you've done so in r342070 Marshall Clow 2018-09-12 18:53:02 +00:00
  • c106dd615d mark LWG#2953 as complete. No code changes required, but added a couple of extra tests. Marshall Clow 2018-09-12 18:51:12 +00:00
  • 575d6888eb Update the failure annotations for the uncaught_exceptions test. The underlying abi library on some Mac OS versions does not support the plural uncaught_exceptions, so libc++ emulates it from the singlar; this means it will only return 0 or 1. Marshall Clow 2018-09-12 16:59:09 +00:00
  • ec25143bbb Implement LWG #3017. list splice functions should use addressof Marshall Clow 2018-09-12 14:46:17 +00:00
  • bf9b545a05 Update the synopsis for <version>. NFC Marshall Clow 2018-09-11 20:51:54 +00:00
  • 53c8e25037 Fix PR# 38900 - don't call swap inside of random_shuffle when we'd be swapping an element with itself Marshall Clow 2018-09-11 18:33:45 +00:00
  • 5a86ba0aa0 ReleaseNotes: update links to use https Hans Wennborg 2018-09-10 08:57:12 +00:00
  • 8c58c22937 [asan] Update a vector's storage annotation during destruction. Reviewed as https://reviews.llvm.org/D50101. Thanks to bobsayshilol (Ben) for the patch. Marshall Clow 2018-09-07 15:47:59 +00:00
  • 6969dc114e [libc++] Add a link to the Release notes from the main libc++ documentation Louis Dionne 2018-09-06 15:05:43 +00:00
  • fa8c5393b4 [libcxx] Add ReleaseNotes.rst file for release notes Louis Dionne 2018-09-06 14:46:22 +00:00
  • dffe9e0f1d Merging r340609: ------------------------------------------------------------------------ r340609 | ldionne | 2018-08-24 16:10:28 +0200 (Fri, 24 Aug 2018) | 13 lines Hans Wennborg 2018-09-06 08:54:44 +00:00
  • 8286ca176a Merging r340823: ------------------------------------------------------------------------ r340823 | marshall | 2018-08-28 15:29:30 +0200 (Tue, 28 Aug 2018) | 1 line Hans Wennborg 2018-08-30 08:19:15 +00:00
  • 8220dac54c Last week, someone noted that a couple of the time_point member functions were not constexpr. I looked, and they were right. They were made constexpr in p0505, so I looked at all the other bits in that paper to make sure that I didn't miss anything else. There were a couple methods in the synopsis that should have been marked constexpr, but the code was correct. Marshall Clow 2018-08-29 23:02:15 +00:00
  • c4f0f1eaa8 Use addressof instead of operator& in make_shared. Fixes PR38729. As a drive-by, make the same change in raw_storage_iterator (twice). Marshall Clow 2018-08-28 13:29:30 +00:00
  • f45b25b18d Fix ODR violation: namespace-scope helpers should not be declared 'static'. Richard Smith 2018-08-27 21:41:50 +00:00
  • e45e0640b6 Mark P0556 as 'in progress' Marshall Clow 2018-08-27 16:07:01 +00:00
  • b1dfda2098 Merging r340544: ------------------------------------------------------------------------ r340544 | epilk | 2018-08-23 19:08:02 +0200 (Thu, 23 Aug 2018) | 3 lines Hans Wennborg 2018-08-24 22:16:24 +00:00
  • cd04d45e3a [libc++] Fix handling of negated character classes in regex Louis Dionne 2018-08-24 14:10:28 +00:00
  • 39ad1d12c1 [libc++] Remove race condition in std::async Louis Dionne 2018-08-24 14:00:59 +00:00
  • b2dd7690ab Comment out #define __cpp_lib_node_extract, we only support half of that functionality Erik Pilkington 2018-08-23 17:08:02 +00:00
  • ed6c20e48d Disable the aligned allocation test on old mac versions instead of XFAILing it Reid Kleckner 2018-08-22 17:47:41 +00:00
  • c39fe08b20 Add diagnostics for min/max algorithms when a InputIterator is used. Eric Fiselier 2018-08-22 17:47:13 +00:00
  • 833b8f68ba Merging r340406: ------------------------------------------------------------------------ r340406 | ericwf | 2018-08-22 15:29:52 +0200 (Wed, 22 Aug 2018) | 12 lines Hans Wennborg 2018-08-22 16:39:24 +00:00
  • 1e22fa5b1b Attempt to unbreak filesystem tests on certain linux distros. Eric Fiselier 2018-08-22 13:29:52 +00:00
  • 4c90425692 Fix Bug 38644: multimap::clear() missing exception specifier. Add noexcept tests for all the containers that have clear(). Marshall Clow 2018-08-22 04:28:43 +00:00
  • 36711b2482 Teach libc++ to use native NetBSD's max_align_t Kamil Rytarowski 2018-08-20 22:29:20 +00:00
  • f017e1e2a4 Refactor the newly created <bit> header. Still (almost) NFC. Reviewed as https://reviews.llvm.org/D50876 Marshall Clow 2018-08-17 17:27:25 +00:00
  • 6c372355ba Recommit r339943 - Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 - with a fix for the sanitizer bots Marshall Clow 2018-08-17 16:07:48 +00:00
  • d2482584d7 Merging r339816: ------------------------------------------------------------------------ r339816 | marshall | 2018-08-15 23:19:08 +0200 (Wed, 15 Aug 2018) | 1 line Hans Wennborg 2018-08-17 07:22:08 +00:00
  • 113b47ca3a Merging r339804: ------------------------------------------------------------------------ r339804 | marshall | 2018-08-15 21:27:53 +0200 (Wed, 15 Aug 2018) | 1 line Hans Wennborg 2018-08-17 07:21:26 +00:00
  • e90841be90 Merging r339742: ------------------------------------------------------------------------ r339742 | ldionne | 2018-08-15 02:18:01 +0200 (Wed, 15 Aug 2018) | 11 lines Hans Wennborg 2018-08-17 07:20:52 +00:00
  • e07ae0015d Merging r339741: ------------------------------------------------------------------------ r339741 | ldionne | 2018-08-15 02:16:41 +0200 (Wed, 15 Aug 2018) | 12 lines Hans Wennborg 2018-08-17 07:20:30 +00:00
  • 267182af10 Merging r339702: ------------------------------------------------------------------------ r339702 | ldionne | 2018-08-14 20:16:56 +0200 (Tue, 14 Aug 2018) | 11 lines Hans Wennborg 2018-08-17 07:20:04 +00:00
  • dc5456fdc3 Merging r339675: ------------------------------------------------------------------------ r339675 | ldionne | 2018-08-14 15:29:17 +0200 (Tue, 14 Aug 2018) | 15 lines Hans Wennborg 2018-08-17 07:19:32 +00:00
  • 245791ae73 Revert "Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815" Vitaly Buka 2018-08-16 23:57:16 +00:00
  • aec9e0e5a2 [libc++] Use correct rand.eng.mers all-zeroes seed sequence fallback Hubert Tong 2018-08-16 23:56:54 +00:00
  • fbd46738b1 Establish the <bit> header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 Marshall Clow 2018-08-16 21:35:38 +00:00
  • e0a861d017 Merging r339874: ------------------------------------------------------------------------ r339874 | ldionne | 2018-08-16 14:44:28 +0200 (Thu, 16 Aug 2018) | 25 lines Hans Wennborg 2018-08-16 14:54:37 +00:00
  • 61b0a0088b [libcxx] By default, do not use internal_linkage to hide symbols from the ABI Louis Dionne 2018-08-16 12:44:28 +00:00
  • a30b691211 Merging r339743: ------------------------------------------------------------------------ r339743 | ldionne | 2018-08-15 02:30:03 +0200 (Wed, 15 Aug 2018) | 14 lines Hans Wennborg 2018-08-16 09:52:16 +00:00
  • af0ecbcc9a Merging r339794: ------------------------------------------------------------------------ r339794 | dim | 2018-08-15 19:30:32 +0200 (Wed, 15 Aug 2018) | 8 lines Hans Wennborg 2018-08-16 09:45:10 +00:00
  • ca2092075c Merging r339697: ------------------------------------------------------------------------ r339697 | mstorsjo | 2018-08-14 19:33:10 +0200 (Tue, 14 Aug 2018) | 8 lines Hans Wennborg 2018-08-16 09:03:32 +00:00
  • 43d7c79aae Selectively import timespec_get into namespace std, since some C libraries don't have it. Reviewed as https://reviews.llvm.org/D50799 Marshall Clow 2018-08-15 21:19:08 +00:00
  • a87d98049c Mark the at_exit and at_quick_exit tests as unsupported under C++98 an 03, since those calls were introduced in C++11. They're already guarded by an ifdef in the code, so this is a 'belt-and-suspenders' change. Marshall Clow 2018-08-15 19:27:53 +00:00
  • 62176005c3 libcxx: Mark __temp_value::__temp_value as _LIBCPP_NO_CFI. Peter Collingbourne 2018-08-15 17:49:30 +00:00
  • f27313afa2 For FreeBSD, don't define _M in nasty_macros.hpp Dimitry Andric 2018-08-15 17:30:32 +00:00
  • a1b4766c47 [libcxx] Fix XFAILs for aligned allocation tests on older OSX versions Louis Dionne 2018-08-15 00:30:03 +00:00
  • 010c53f892 [libc++] Disable failing C11 feature tests for <cfloat> and <float.h> Louis Dionne 2018-08-15 00:18:01 +00:00
  • 51a2f0c64a [libc++] Detect C11 features on non-Clang compilers Louis Dionne 2018-08-15 00:16:41 +00:00
  • cbc40b6d2e [libc++] Fix incorrect definition of TEST_HAS_C11_FEATURES Louis Dionne 2018-08-14 18:16:56 +00:00
  • 8ddc6c6199 [CMake] Fix the LIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY option Martin Storsjo 2018-08-14 17:33:10 +00:00
  • 4d5214346e [libc++] Add missing #include in C11 features tests Louis Dionne 2018-08-14 13:29:17 +00:00
  • 35d70f69f1 Merging r339431: ------------------------------------------------------------------------ r339431 | ldionne | 2018-08-10 15:24:56 +0200 (Fri, 10 Aug 2018) | 16 lines Hans Wennborg 2018-08-14 09:13:39 +00:00
  • 6699cd385e [libcxx] Mark charconv tests as failing for previous libcxx versions. Volodymyr Sapsai 2018-08-10 17:03:47 +00:00
  • 836b7e9c1f [libc++] Enable aligned allocation based on feature test macro, irrespective of standard Louis Dionne 2018-08-10 13:24:56 +00:00
  • 5428c6b9d6 [libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp. Billy Robert O'Neal III 2018-08-08 04:24:47 +00:00
  • d39a48c04b [libcxx] [test] Allow a standard library that implements LWG 1203 in istream.rvalue/rvalue.pass.cpp Billy Robert O'Neal III 2018-08-08 00:49:02 +00:00
  • 76dae9f0ba [libcxx] [test] Remove nonportable locale assumption in basic.ios.members/narrow.pass.cpp Billy Robert O'Neal III 2018-08-08 00:47:29 +00:00
  • d963dbfd40 [libcxx] [test] Remove asserts that <cstddef> and <stdexcept> are included by <bitset> Billy Robert O'Neal III 2018-08-08 00:43:38 +00:00
  • 8989fab841 [libcxx] [test] Add missing <stdexcept> in several tests. Billy Robert O'Neal III 2018-08-08 00:40:32 +00:00
  • 5ae92f0055 [libc++] Add the _LIBCPP_HIDE_FROM_ABI_AFTER_V1 macro Louis Dionne 2018-08-06 14:11:50 +00:00
  • de134800ae Mark LWG#2260 as complete. We already did the right thing, so I just added tests to ensure that we continue to DTRT. Marshall Clow 2018-08-03 23:28:48 +00:00
  • 2580fdbb5a [NFC][libc++] Consistently use spaces to indent Louis Dionne 2018-08-03 22:36:53 +00:00
  • e25adff05a Make my new test harness work w/c++03 Marshall Clow 2018-08-03 02:58:16 +00:00
  • 3a225ef042 Update the changes to the array tests (that I committed yesterday) to use the test_comparison routines that I committed last week. NFC. Marshall Clow 2018-08-03 00:47:12 +00:00
  • 88f5d7a38b Implement P1023: constexpr comparison operators for std::array Marshall Clow 2018-08-02 02:11:06 +00:00
  • 48282b6a2a Implement P0887: The identity metafunction Marshall Clow 2018-08-02 01:56:02 +00:00
  • 32d52eed03 Drop 'svn' suffix from the version number. Hans Wennborg 2018-08-01 15:23:47 +00:00
  • db9b3d81a4 Update version to 8.0.0svn: cmake, includes files and docs Hans Wennborg 2018-08-01 13:54:28 +00:00
  • 5f3a913719 Creating release_70 branch off revision 338536 Hans Wennborg 2018-08-01 13:30:36 +00:00
  • f7410f4f85 [libc++] Fix GCC 7.2.0 macro redefinition warning Louis Dionne 2018-08-01 13:13:14 +00:00
  • 80f0ca024a [libc++] Fix build failures after merging <charconv> Zhihao Yuan 2018-08-01 05:21:26 +00:00
  • dc38e97601 [libc++][C++17] Elementary string conversions for integral types Zhihao Yuan 2018-08-01 02:38:30 +00:00
  • 6952d1478d [libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY Louis Dionne 2018-08-01 02:08:59 +00:00
  • 36fc737189 First half of C++17's splicing maps and sets Erik Pilkington 2018-08-01 01:33:38 +00:00
  • ea96e3a707 Final bit of P0063 - make sure that aligned_alloc is available when the underlying C library supports it Marshall Clow 2018-07-31 23:39:12 +00:00
  • 4983a7a649 Test for the presence of a bunch of new macros for c++17. These macros come from C11. Part of P0063 Marshall Clow 2018-07-31 23:29:06 +00:00
  • 8a16d40991 import timespec and timespec_get into namespace std if we're under c++17 or later AND the underlying C library has them. Fixes PR#38220, but doesn't implement all of P0063 yet. Marshall Clow 2018-07-31 19:25:00 +00:00
  • 1bef51a0b5 Introduce a new test macro TEST_HAS_C11_FEATURES which is set when the underlying C library has C11 features. In C++17, we use those features. <__config> defines a similar macro, _LIBCPP_HAS_C11_FEATURES, but we don't want to use that in the library-independent parts of the tests, so define the new one. Also add a libc++-specific test to make sure the two stay in sync. Marshall Clow 2018-07-31 18:23:57 +00:00
  • decf28e84f Code cleanup - change naked 'throw' expressions to call helpre function '__throw_future_error'. The behavior change is that if you build libc++ with exceptions disabled, and then use that in a program that sets the value of the future twice (for example), it will now abort instead of behaving unpredictably. Marshall Clow 2018-07-30 23:33:48 +00:00
  • 379cbeb1a2 [libcxx] fix >> 42 UB in <experimental/simd> Tim Shen 2018-07-30 23:05:40 +00:00
  • 154f393a5c Re-apply "[libcxx] implement <simd> ABI for Clang/GCC vector extension, constructors, copy_from and copy_to." Tim Shen 2018-07-30 22:27:38 +00:00
  • b6244cf5af Revert "[libcxx] implement <simd> ABI for Clang/GCC vector extension, constructors, copy_from and copy_to." Tim Shen 2018-07-30 22:21:22 +00:00
  • 373299533a [libcxx] implement <simd> ABI for Clang/GCC vector extension, constructors, copy_from and copy_to. Tim Shen 2018-07-30 21:23:13 +00:00
  • 8634f6fcca [libc++] Exclude posix_l/strtonum fallback inclusion for newlib > 2.4 Jordan Rupprecht 2018-07-27 20:02:58 +00:00
  • 67fff22b9a [libc++] Introduce _LIBCPP_HIDE_FROM_ABI to replace _LIBCPP_INLINE_VISIBILITY Louis Dionne 2018-07-27 12:46:03 +00:00
  • 7e850a8da4 Move Filesystem namespace definition out of a clang specific ifdef block. Eric Fiselier 2018-07-27 06:12:46 +00:00
  • bc3f4035c3 Add libc++fs to the test deps, and not to the target 'cxx'. Eric Fiselier 2018-07-27 03:47:46 +00:00
  • 0be5527dc0 Attempt to unbreak *all the bots* Eric Fiselier 2018-07-27 03:42:58 +00:00
  • 789c372456 Correctly mark the Filesystem status as complete. Eric Fiselier 2018-07-27 03:16:02 +00:00
  • a0866c5fb5 Implement <filesystem> Eric Fiselier 2018-07-27 03:07:09 +00:00
  • 47d2a98a33 [CMake] Don't generate linker script only when shared library isn't statically linked Petr Hosek 2018-07-26 05:10:24 +00:00
  • 14535e3ad6 Copy LLVM CMake configuration for CMake Policy CMP0068 Eric Fiselier 2018-07-26 05:08:30 +00:00