r360614 - Make more friendly with unions. Reviewed as https://reviews.llvm.org/D61858

2019-05-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 13 12:29:23 2019 New Revision: 360614 URL: http://llvm.org/viewvc/llvm-project?rev=360614=rev Log: Make more friendly with unions. Reviewed as https://reviews.llvm.org/D61858 Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp

Re: [libcxx] r342073 - Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955

2018-10-22 Thread Marshall Clow via cfe-commits
On Tue, Oct 2, 2018 at 10:33 AM Christof Douma wrote: > Hi Marshall. > > I think that this patch breaks backwards compatibility. Assumes that the > header file "version" is used by C++ projects that use a C++ standard that > did not specify a 'version' header. Many toolchains will put search

Re: [libcxx] r342073 - Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955

2018-10-08 Thread Marshall Clow via cfe-commits
On Thu, Oct 4, 2018 at 8:41 AM Richard Smith wrote: > Perhaps libc++ could provide a __version file that contains the headers, > and use #include <__version> internally? We'd still need a header > that just includes <__version> for conformance, but that should be after > user headers on the

Re: [libcxx] r342073 - Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955

2018-10-04 Thread Marshall Clow via cfe-commits
On Wed, Oct 3, 2018 at 3:38 AM Christof Douma wrote: > Hi. > > > > Yes, including would try to include the “version” file inside > the users project. The problem is not the existence of the header file, but > the #include directive that is not guarded. To give examples on when this > goes

[libcxx] r342103 - Mark LWG#3102 as complete. No code changes, but I updated a test or two

2018-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 12 19:23:52 2018 New Revision: 342103 URL: http://llvm.org/viewvc/llvm-project?rev=342103=rev Log: Mark LWG#3102 as complete. No code changes, but I updated a test or two Modified: libcxx/trunk/test/std/containers/views/span.iterators/end.pass.cpp

[libcxx] r342073 - Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955

2018-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 12 12:41:40 2018 New Revision: 342073 URL: http://llvm.org/viewvc/llvm-project?rev=342073=rev Log: Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955 Added:

[libcxx] r342071 - Actually mark LWG#2953, don't just say you've done so in r342070

2018-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 12 11:53:02 2018 New Revision: 342071 URL: http://llvm.org/viewvc/llvm-project?rev=342071=rev Log: Actually mark LWG#2953, don't just say you've done so in r342070 Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL:

[libcxx] r342070 - mark LWG#2953 as complete. No code changes required, but added a couple of extra tests.

2018-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 12 11:51:12 2018 New Revision: 342070 URL: http://llvm.org/viewvc/llvm-project?rev=342070=rev Log: mark LWG#2953 as complete. No code changes required, but added a couple of extra tests. Modified:

[libcxx] r342063 - 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++ emulat

2018-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 12 09:59:09 2018 New Revision: 342063 URL: http://llvm.org/viewvc/llvm-project?rev=342063=rev Log: 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,

[libcxx] r342057 - Implement LWG #3017. list splice functions should use addressof

2018-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 12 07:46:17 2018 New Revision: 342057 URL: http://llvm.org/viewvc/llvm-project?rev=342057=rev Log: Implement LWG #3017. list splice functions should use addressof Modified: libcxx/trunk/include/list

[libcxx] r341990 - Update the synopsis for . NFC

2018-09-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Sep 11 13:51:54 2018 New Revision: 341990 URL: http://llvm.org/viewvc/llvm-project?rev=341990=rev Log: Update the synopsis for . NFC Modified: libcxx/trunk/include/version Modified: libcxx/trunk/include/version URL:

[libcxx] r341975 - Fix PR# 38900 - don't call swap inside of random_shuffle when we'd be swapping an element with itself

2018-09-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Sep 11 11:33:45 2018 New Revision: 341975 URL: http://llvm.org/viewvc/llvm-project?rev=341975=rev Log: Fix PR# 38900 - don't call swap inside of random_shuffle when we'd be swapping an element with itself Modified: libcxx/trunk/include/algorithm Modified:

[libcxx] r341671 - [asan] Update a vector's storage annotation during destruction. Reviewed as https://reviews.llvm.org/D50101. Thanks to bobsayshilol (Ben) for the patch.

2018-09-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Sep 7 08:47:59 2018 New Revision: 341671 URL: http://llvm.org/viewvc/llvm-project?rev=341671=rev Log: [asan] Update a vector's storage annotation during destruction. Reviewed as https://reviews.llvm.org/D50101. Thanks to bobsayshilol (Ben) for the patch. Modified:

[libcxx] r340992 - 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 th

2018-08-29 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Aug 29 16:02:15 2018 New Revision: 340992 URL: http://llvm.org/viewvc/llvm-project?rev=340992=rev Log: 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

[libcxx] r340823 - Use addressof instead of operator& in make_shared. Fixes PR38729. As a drive-by, make the same change in raw_storage_iterator (twice).

2018-08-28 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Aug 28 06:29:30 2018 New Revision: 340823 URL: http://llvm.org/viewvc/llvm-project?rev=340823=rev Log: Use addressof instead of operator& in make_shared. Fixes PR38729. As a drive-by, make the same change in raw_storage_iterator (twice). Modified:

[libcxx] r340752 - Mark P0556 as 'in progress'

2018-08-27 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Aug 27 09:07:01 2018 New Revision: 340752 URL: http://llvm.org/viewvc/llvm-project?rev=340752=rev Log: Mark P0556 as 'in progress' Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL:

[libcxx] r340385 - Fix Bug 38644: multimap::clear() missing exception specifier. Add noexcept tests for all the containers that have clear().

2018-08-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Aug 21 21:28:43 2018 New Revision: 340385 URL: http://llvm.org/viewvc/llvm-project?rev=340385=rev Log: Fix Bug 38644: multimap::clear() missing exception specifier. Add noexcept tests for all the containers that have clear(). Added:

[libcxx] r340049 - Refactor the newly created header. Still (almost) NFC. Reviewed as https://reviews.llvm.org/D50876

2018-08-17 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Aug 17 10:27:25 2018 New Revision: 340049 URL: http://llvm.org/viewvc/llvm-project?rev=340049=rev Log: Refactor the newly created header. Still (almost) NFC. Reviewed as https://reviews.llvm.org/D50876 Modified: libcxx/trunk/include/__bit_reference

[libcxx] r340045 - Recommit r339943 - Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 - with a fix for the sanitizer bots

2018-08-17 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Aug 17 09:07:48 2018 New Revision: 340045 URL: http://llvm.org/viewvc/llvm-project?rev=340045=rev Log: Recommit r339943 - Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 - with a fix for the sanitizer bots Added:

Re: [libcxx] r339943 - Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815

2018-08-17 Thread Marshall Clow via cfe-commits
On Fri, Aug 17, 2018 at 8:49 AM, Marshall Clow wrote: > On Thu, Aug 16, 2018 at 3:30 PM, Vitaly Buka > wrote: > >> This brakes some bots >> http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux- >> fast/builds/22441 >> >>

Re: [libcxx] r339943 - Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815

2018-08-17 Thread Marshall Clow via cfe-commits
On Thu, Aug 16, 2018 at 3:30 PM, Vitaly Buka wrote: > This brakes some bots > http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/22441 > > /b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/include/c++/v1/algorithm:648:10: > fatal error: 'bit' file not found > #include >

[libcxx] r339943 - Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815

2018-08-16 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Aug 16 14:35:38 2018 New Revision: 339943 URL: http://llvm.org/viewvc/llvm-project?rev=339943=rev Log: Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 Added: libcxx/trunk/include/bit Modified: libcxx/trunk/include/algorithm

[libcxx] r339816 - Selectively import timespec_get into namespace std, since some C libraries don't have it. Reviewed as https://reviews.llvm.org/D50799

2018-08-15 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Aug 15 14:19:08 2018 New Revision: 339816 URL: http://llvm.org/viewvc/llvm-project?rev=339816=rev Log: Selectively import timespec_get into namespace std, since some C libraries don't have it. Reviewed as https://reviews.llvm.org/D50799 Modified:

[libcxx] r339804 - 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

2018-08-15 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Aug 15 12:27:53 2018 New Revision: 339804 URL: http://llvm.org/viewvc/llvm-project?rev=339804=rev Log: 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

[libcxx] r338936 - Mark LWG#2260 as complete. We already did the right thing, so I just added tests to ensure that we continue to DTRT.

2018-08-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Aug 3 16:28:48 2018 New Revision: 338936 URL: http://llvm.org/viewvc/llvm-project?rev=338936=rev Log: Mark LWG#2260 as complete. We already did the right thing, so I just added tests to ensure that we continue to DTRT. Modified:

[libcxx] r338803 - Make my new test harness work w/c++03

2018-08-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Aug 2 19:58:16 2018 New Revision: 338803 URL: http://llvm.org/viewvc/llvm-project?rev=338803=rev Log: Make my new test harness work w/c++03 Modified: libcxx/trunk/test/support/test_comparisons.h Modified: libcxx/trunk/test/support/test_comparisons.h URL:

[libcxx] r338797 - Update the changes to the array tests (that I committed yesterday) to use the test_comparison routines that I committed last week. NFC.

2018-08-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Aug 2 17:47:12 2018 New Revision: 338797 URL: http://llvm.org/viewvc/llvm-project?rev=338797=rev Log: Update the changes to the array tests (that I committed yesterday) to use the test_comparison routines that I committed last week. NFC. Modified:

[libcxx] r338668 - Implement P1023: constexpr comparison operators for std::array

2018-08-01 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Aug 1 19:11:06 2018 New Revision: 338668 URL: http://llvm.org/viewvc/llvm-project?rev=338668=rev Log: Implement P1023: constexpr comparison operators for std::array Modified: libcxx/trunk/include/array

[libcxx] r338666 - Implement P0887: The identity metafunction

2018-08-01 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Aug 1 18:56:02 2018 New Revision: 338666 URL: http://llvm.org/viewvc/llvm-project?rev=338666=rev Log: Implement P0887: The identity metafunction Added: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp Modified:

[libcxx] r338457 - Final bit of P0063 - make sure that aligned_alloc is available when the underlying C library supports it

2018-07-31 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jul 31 16:39:12 2018 New Revision: 338457 URL: http://llvm.org/viewvc/llvm-project?rev=338457=rev Log: Final bit of P0063 - make sure that aligned_alloc is available when the underlying C library supports it Modified:

[libcxx] r338454 - Test for the presence of a bunch of new macros for c++17. These macros come from C11. Part of P0063

2018-07-31 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jul 31 16:29:06 2018 New Revision: 338454 URL: http://llvm.org/viewvc/llvm-project?rev=338454=rev Log: Test for the presence of a bunch of new macros for c++17. These macros come from C11. Part of P0063 Modified: libcxx/trunk/include/cfloat

[libcxx] r338419 - 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.

2018-07-31 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jul 31 12:25:00 2018 New Revision: 338419 URL: http://llvm.org/viewvc/llvm-project?rev=338419=rev Log: 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

[libcxx] r338411 - 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, _L

2018-07-31 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jul 31 11:23:57 2018 New Revision: 338411 URL: http://llvm.org/viewvc/llvm-project?rev=338411=rev Log: 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

[libcxx] r338332 - 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 us

2018-07-30 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jul 30 16:33:48 2018 New Revision: 338332 URL: http://llvm.org/viewvc/llvm-project?rev=338332=rev Log: Code cleanup - change naked 'throw' expressions to call helpre function '__throw_future_error'. The behavior change is that if you build libc++ with exceptions

[libcxx] r337885 - New test support for comparisons. Reviewed as https://reviews.llvm.org/D49773

2018-07-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jul 24 21:21:21 2018 New Revision: 337885 URL: http://llvm.org/viewvc/llvm-project?rev=337885=rev Log: New test support for comparisons. Reviewed as https://reviews.llvm.org/D49773 Added: libcxx/trunk/test/support/test_comparisons.h Added:

[libcxx] r337879 - Mark as complete

2018-07-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jul 24 18:55:25 2018 New Revision: 337879 URL: http://llvm.org/viewvc/llvm-project?rev=337879=rev Log: Mark as complete Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL:

[libcxx] r337809 - fix nesting of namespace and standard-version check. Also include <__config>

2018-07-23 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jul 23 20:56:38 2018 New Revision: 337809 URL: http://llvm.org/viewvc/llvm-project?rev=337809=rev Log: fix nesting of namespace and standard-version check. Also include <__config> Modified: libcxx/trunk/include/span Modified: libcxx/trunk/include/span URL:

[libcxx] r337808 - Disable 'suggest braces' warnings for std::array in tests

2018-07-23 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jul 23 20:41:36 2018 New Revision: 337808 URL: http://llvm.org/viewvc/llvm-project?rev=337808=rev Log: Disable 'suggest braces' warnings for std::array in tests Modified: libcxx/trunk/test/std/containers/views/span.cons/deduct.pass.cpp

[libcxx] r337406 - Update the synopsis for for C++20. No functional change.

2018-07-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jul 18 10:37:51 2018 New Revision: 337406 URL: http://llvm.org/viewvc/llvm-project?rev=337406=rev Log: Update the synopsis for for C++20. No functional change. Modified: libcxx/trunk/include/chrono Modified: libcxx/trunk/include/chrono URL:

[libcxx] r337087 - Mark __equal_to 's operations as constexpr.

2018-07-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jul 13 21:15:19 2018 New Revision: 337087 URL: http://llvm.org/viewvc/llvm-project?rev=337087=rev Log: Mark __equal_to 's operations as constexpr. Modified: libcxx/trunk/include/algorithm Modified: libcxx/trunk/include/algorithm URL:

[libcxx] r337085 - Mark one more __wrap_iter operation as constexpr.

2018-07-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jul 13 20:06:11 2018 New Revision: 337085 URL: http://llvm.org/viewvc/llvm-project?rev=337085=rev Log: Mark one more __wrap_iter operation as constexpr. Modified: libcxx/trunk/include/iterator Modified: libcxx/trunk/include/iterator URL:

[libcxx] r337028 - wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...)

2018-07-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jul 13 10:31:36 2018 New Revision: 337028 URL: http://llvm.org/viewvc/llvm-project?rev=337028=rev Log: wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...) Modified: libcxx/trunk/include/__config Modified: libcxx/trunk/include/__config URL:

[libcxx] r337027 - Shot in the dark to fix gcc 4.9 / c++11 build

2018-07-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jul 13 10:24:59 2018 New Revision: 337027 URL: http://llvm.org/viewvc/llvm-project?rev=337027=rev Log: Shot in the dark to fix gcc 4.9 / c++11 build Modified: libcxx/trunk/include/__config Modified: libcxx/trunk/include/__config URL:

[libcxx] r337019 - Make internal class __wrap_iter constexpr when not using libc++'s debugging mode. Introduce a new macro _LIBCPP_CONSTEXPR_IF_NODEBUG to mark this.

2018-07-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jul 13 09:35:26 2018 New Revision: 337019 URL: http://llvm.org/viewvc/llvm-project?rev=337019=rev Log: Make internal class __wrap_iter constexpr when not using libc++'s debugging mode. Introduce a new macro _LIBCPP_CONSTEXPR_IF_NODEBUG to mark this. Modified:

[libcxx] r337016 - Fix a couple of 'unused variable' warnings in a vector test. NFC.

2018-07-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jul 13 09:26:16 2018 New Revision: 337016 URL: http://llvm.org/viewvc/llvm-project?rev=337016=rev Log: Fix a couple of 'unused variable' warnings in a vector test. NFC. Modified: libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp Modified:

[libcxx] r336880 - Turns out that wide literals U"xxx" and u"xxx" are c++11 and later.

2018-07-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jul 11 19:55:01 2018 New Revision: 336880 URL: http://llvm.org/viewvc/llvm-project?rev=336880=rev Log: Turns out that wide literals U"xxx" and u"xxx" are c++11 and later. Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp

[libcxx] r336856 - Same reversed ifdef happened twice. Test fix only, NFC to the library.

2018-07-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jul 11 14:22:13 2018 New Revision: 336856 URL: http://llvm.org/viewvc/llvm-project?rev=336856=rev Log: Same reversed ifdef happened twice. Test fix only, NFC to the library. Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp

[libcxx] r336855 - Fix a test #ifdef that was reversed. NFC to the library.

2018-07-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jul 11 14:20:42 2018 New Revision: 336855 URL: http://llvm.org/viewvc/llvm-project?rev=336855=rev Log: Fix a test #ifdef that was reversed. NFC to the library. Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp Modified:

[libcxx] r336381 - Fix HTML blunder

2018-07-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Jul 5 10:44:12 2018 New Revision: 336381 URL: http://llvm.org/viewvc/llvm-project?rev=336381=rev Log: Fix HTML blunder Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL:

[libcxx] r336132 - Implement LWG 2946, 3075 and 3076. Reviewed as https://reviews.llvm.org/D48616

2018-07-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jul 2 11:41:15 2018 New Revision: 336132 URL: http://llvm.org/viewvc/llvm-project?rev=336132=rev Log: Implement LWG 2946, 3075 and 3076. Reviewed as https://reviews.llvm.org/D48616 Added:

[libcxx] r334467 - Update the to-do list with motions from Rapperswil.

2018-06-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jun 11 19:45:30 2018 New Revision: 334467 URL: http://llvm.org/viewvc/llvm-project?rev=334467=rev Log: Update the to-do list with motions from Rapperswil. Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL:

[libcxx] r333467 - Fix embarrasing typo in uncaught_exceptions. Update tests to really test this. Thanks to Peter Klotz for calling my attention to this.

2018-05-29 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue May 29 15:25:42 2018 New Revision: 333467 URL: http://llvm.org/viewvc/llvm-project?rev=333467=rev Log: Fix embarrasing typo in uncaught_exceptions. Update tests to really test this. Thanks to Peter Klotz for calling my attention to this. Modified:

[libcxx] r333435 - Mark __clear_and_shrink() as noexcept. This prevents the generation of a catch block and call to terminate in string's move assignment. Thanks to Howard for the 'catch'.

2018-05-29 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue May 29 10:04:37 2018 New Revision: 333435 URL: http://llvm.org/viewvc/llvm-project?rev=333435=rev Log: Mark __clear_and_shrink() as noexcept. This prevents the generation of a catch block and call to terminate in string's move assignment. Thanks to Howard for the

[libcxx] r333381 - Fix up the final bits of breakage due to clang v5 generating bad implicit template deduction guides - specifically for copy-ctors

2018-05-28 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 28 12:20:21 2018 New Revision: 81 URL: http://llvm.org/viewvc/llvm-project?rev=81=rev Log: Fix up the final bits of breakage due to clang v5 generating bad implicit template deduction guides - specifically for copy-ctors Modified:

[libcxx] r333376 - Mark the template deduction tests as UNSUPPORTED on clang 5, because it deduces the wrong type.

2018-05-28 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 28 08:42:47 2018 New Revision: 76 URL: http://llvm.org/viewvc/llvm-project?rev=76=rev Log: Mark the template deduction tests as UNSUPPORTED on clang 5, because it deduces the wrong type. Modified:

Re: [libcxx] r333325 - Add nonnull; use it for atomics

2018-05-26 Thread Marshall Clow via cfe-commits
On Fri, May 25, 2018 at 4:43 PM, JF Bastien via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: jfb > Date: Fri May 25 16:43:53 2018 > New Revision: 25 > > URL: http://llvm.org/viewvc/llvm-project?rev=25=rev > Log: > Add nonnull; use it for atomics > > JF - please revert this

[libcxx] r333252 - Add one more test for optional

2018-05-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu May 24 19:22:54 2018 New Revision: 333252 URL: http://llvm.org/viewvc/llvm-project?rev=333252=rev Log: Add one more test for optional Modified: libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp Modified:

[libcxx] r333251 - Add deduction guides for optional

2018-05-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu May 24 19:08:49 2018 New Revision: 333251 URL: http://llvm.org/viewvc/llvm-project?rev=333251=rev Log: Add deduction guides for optional Added: libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp

[libcxx] r333058 - Mark more bits of P0433 as complete.

2018-05-22 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue May 22 20:22:59 2018 New Revision: 333058 URL: http://llvm.org/viewvc/llvm-project?rev=333058=rev Log: Mark more bits of P0433 as complete. Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL:

[libcxx] r333050 - Implement deduction guides for basic_regex

2018-05-22 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue May 22 18:57:02 2018 New Revision: 333050 URL: http://llvm.org/viewvc/llvm-project?rev=333050=rev Log: Implement deduction guides for basic_regex Added: libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp

[libcxx] r332996 - Change the names of two private methods: allocate -> __vallocate and deallocate -> __vdeallocate. NFC. This change triggered by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61806, w

2018-05-22 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue May 22 09:20:28 2018 New Revision: 332996 URL: http://llvm.org/viewvc/llvm-project?rev=332996=rev Log: Change the names of two private methods: allocate -> __vallocate and deallocate -> __vdeallocate. NFC. This change triggered by

[libcxx] r332931 - Missed the tests for the deduction guides for prority_queue

2018-05-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 21 19:19:38 2018 New Revision: 332931 URL: http://llvm.org/viewvc/llvm-project?rev=332931=rev Log: Missed the tests for the deduction guides for prority_queue Added:

[libcxx] r332927 - Deduction guides for the container adaptors - queue, stack, and priority_queue

2018-05-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 21 18:57:53 2018 New Revision: 332927 URL: http://llvm.org/viewvc/llvm-project?rev=332927=rev Log: Deduction guides for the container adaptors - queue, stack, and priority_queue Added:

[libcxx] r332901 - Implement deduction guides for vector

2018-05-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 21 14:30:12 2018 New Revision: 332901 URL: http://llvm.org/viewvc/llvm-project?rev=332901=rev Log: Implement deduction guides for vector Added: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp

[libcxx] r332818 - Deduction guides for list

2018-05-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun May 20 07:05:31 2018 New Revision: 332818 URL: http://llvm.org/viewvc/llvm-project?rev=332818=rev Log: Deduction guides for list Added: libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.fail.cpp

[libcxx] r332811 - Implement deduction guides for forward_list

2018-05-19 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sat May 19 09:02:05 2018 New Revision: 332811 URL: http://llvm.org/viewvc/llvm-project?rev=332811=rev Log: Implement deduction guides for forward_list Added: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp

[libcxx] r332797 - Remove expression '1L + INT_MAX', because it overflows on machines where int/long are the same size

2018-05-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri May 18 20:09:05 2018 New Revision: 332797 URL: http://llvm.org/viewvc/llvm-project?rev=332797=rev Log: Remove expression '1L + INT_MAX', because it overflows on machines where int/long are the same size Modified:

[libcxx] r332785 - Implement deduction guides for

2018-05-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri May 18 16:44:13 2018 New Revision: 332785 URL: http://llvm.org/viewvc/llvm-project?rev=332785=rev Log: Implement deduction guides for Added: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp

[libcxx] r332779 - Disable 'missing-braces' warning

2018-05-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri May 18 15:21:33 2018 New Revision: 332779 URL: http://llvm.org/viewvc/llvm-project?rev=332779=rev Log: Disable 'missing-braces' warning Modified: libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.fail.cpp

[libcxx] r332768 - Implement deduction guides for ; Reviewed as https://reviews.llvm.org/D46964

2018-05-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri May 18 14:01:04 2018 New Revision: 332768 URL: http://llvm.org/viewvc/llvm-project?rev=332768=rev Log: Implement deduction guides for ; Reviewed as https://reviews.llvm.org/D46964 Added: libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.fail.cpp

[libcxx] r332000 - More notes on Rapperswil issues

2018-05-10 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu May 10 10:07:38 2018 New Revision: 332000 URL: http://llvm.org/viewvc/llvm-project?rev=332000=rev Log: More notes on Rapperswil issues Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL:

[libcxx] r331661 - Status updates for Rapperswil

2018-05-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 7 11:59:04 2018 New Revision: 331661 URL: http://llvm.org/viewvc/llvm-project?rev=331661=rev Log: Status updates for Rapperswil Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL:

[libcxx] r331638 - Update for Rapperswil

2018-05-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon May 7 07:21:52 2018 New Revision: 331638 URL: http://llvm.org/viewvc/llvm-project?rev=331638=rev Log: Update for Rapperswil Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL:

[libcxx] r330955 - Move old test into test/libcxx, and implement new version of test for ostreambuf_iterator::failed. Fixes PR#37245. Thanks to Billy O'Neill for the bug report.

2018-04-26 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Apr 26 09:16:45 2018 New Revision: 330955 URL: http://llvm.org/viewvc/llvm-project?rev=330955=rev Log: Move old test into test/libcxx, and implement new version of test for ostreambuf_iterator::failed. Fixes PR#37245. Thanks to Billy O'Neill for the bug report.

[libcxx] r330838 - Disable the test I just added when testing C++03.

2018-04-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Apr 25 09:09:47 2018 New Revision: 330838 URL: http://llvm.org/viewvc/llvm-project?rev=330838=rev Log: Disable the test I just added when testing C++03. Modified: libcxx/trunk/test/libcxx/atomics/atomics.flag/init_bool.pass.cpp Modified:

[libcxx] r330828 - Fix static initialization of std::atomic_flag; Fixes PR#37226. Thanks to Ricky Zhou for the report and test case.

2018-04-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Apr 25 07:27:29 2018 New Revision: 330828 URL: http://llvm.org/viewvc/llvm-project?rev=330828=rev Log: Fix static initialization of std::atomic_flag; Fixes PR#37226. Thanks to Ricky Zhou for the report and test case. Modified: libcxx/trunk/include/atomic

[libcxx] r329375 - Mark as "In progress"

2018-04-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Apr 5 21:43:27 2018 New Revision: 329375 URL: http://llvm.org/viewvc/llvm-project?rev=329375=rev Log: Mark as "In progress" Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL:

[libcxx] r329075 - Implement P0754R2: The header.

2018-04-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Apr 3 08:48:24 2018 New Revision: 329075 URL: http://llvm.org/viewvc/llvm-project?rev=329075=rev Log: Implement P0754R2: The header. Added: libcxx/trunk/include/version libcxx/trunk/test/libcxx/language.support/support.limits/version.pass.cpp

[libcxx] r328225 - Fix improperly failing test - and the code it was testing. Thanks to Stephan Lavavej for the catch.

2018-03-22 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Mar 22 11:27:28 2018 New Revision: 328225 URL: http://llvm.org/viewvc/llvm-project?rev=328225=rev Log: Fix improperly failing test - and the code it was testing. Thanks to Stephan Lavavej for the catch. Modified: libcxx/trunk/include/ostream

[libcxx] r328064 - Implement LWG3034: P0767R1 breaks previously-standard-layout types

2018-03-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Mar 20 17:36:05 2018 New Revision: 328064 URL: http://llvm.org/viewvc/llvm-project?rev=328064=rev Log: Implement LWG3034: P0767R1 breaks previously-standard-layout types Added: libcxx/trunk/test/std/strings/basic.string/char.bad.fail.cpp

[libcxx] r328059 - Implement LWG3035: std::allocator's constructors should be constexpr.

2018-03-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Mar 20 16:02:53 2018 New Revision: 328059 URL: http://llvm.org/viewvc/llvm-project?rev=328059=rev Log: Implement LWG3035: std::allocator's constructors should be constexpr. Added: libcxx/trunk/test/std/utilities/memory/default.allocator/allocator.ctor.pass.cpp

[libcxx] r328054 - Implement LWG 3039 and 3041 - 'Treating Unnecessary decay'.

2018-03-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Mar 20 15:37:37 2018 New Revision: 328054 URL: http://llvm.org/viewvc/llvm-project?rev=328054=rev Log: Implement LWG 3039 and 3041 - 'Treating Unnecessary decay'. Modified: libcxx/trunk/include/future libcxx/trunk/include/thread Modified:

[libcxx] r327806 - Updated C++2a status with changes from Jacksonville WG21 meeting

2018-03-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Mar 18 12:29:21 2018 New Revision: 327806 URL: http://llvm.org/viewvc/llvm-project?rev=327806=rev Log: Updated C++2a status with changes from Jacksonville WG21 meeting Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL:

[libcxx] r327005 - Implement LWG#2518 - Non-member swap for propagate_const should call member swap

2018-03-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Mar 8 07:01:50 2018 New Revision: 327005 URL: http://llvm.org/viewvc/llvm-project?rev=327005=rev Log: Implement LWG#2518 - Non-member swap for propagate_const should call member swap Modified: libcxx/trunk/include/experimental/propagate_const

[libcxx] r326958 - Include since we use it. Thanks to Andrey Maksimov for the catch.

2018-03-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Mar 7 14:51:16 2018 New Revision: 326958 URL: http://llvm.org/viewvc/llvm-project?rev=326958=rev Log: Include since we use it. Thanks to Andrey Maksimov for the catch. Modified: libcxx/trunk/test/std/numerics/rand/rand.device/eval.pass.cpp Modified:

[libcxx] r326802 - One more test for P0767:

2018-03-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Mar 6 07:01:55 2018 New Revision: 326802 URL: http://llvm.org/viewvc/llvm-project?rev=326802=rev Log: One more test for P0767: Modified: libcxx/trunk/test/std/depr/depr.c.headers/stddef_h.pass.cpp Modified:

[libcxx] r326801 - Implement P0767R1 - Deprecate POD

2018-03-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Mar 6 07:01:19 2018 New Revision: 326801 URL: http://llvm.org/viewvc/llvm-project?rev=326801=rev Log: Implement P0767R1 - Deprecate POD Modified: libcxx/trunk/test/std/language.support/support.types/byte.pass.cpp

[libcxx] r326485 - Added P0805 to the list of ready bits

2018-03-01 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Mar 1 13:16:07 2018 New Revision: 326485 URL: http://llvm.org/viewvc/llvm-project?rev=326485=rev Log: Added P0805 to the list of ready bits Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL:

Re: [libcxx] r323971 - Remove ; use instead. See https://libcxx.llvm.org/TS_deprecation.html

2018-02-24 Thread Marshall Clow via cfe-commits
On Thu, Feb 22, 2018 at 7:58 AM, Nico Weber wrote: > I have a small personal project where I used to use this. I tried > switching to instead, but that apparently requires -std=c++17. > With that, things build fine with my locally-built clang, but latest Xcode > clang

Re: [libcxx] r324290 - Remove ; use instead. See https://libcxx.llvm.org/TS_deprecation.html

2018-02-24 Thread Marshall Clow via cfe-commits
On Thu, Feb 22, 2018 at 7:06 AM, Nico Weber wrote: > Out of interest, do you know why the non-experimental version doesn't have > to_string()? What are folks supposed to use instead? > std::string has an (explicit) constructor from string_view. -- Marshall

[libcxx] r325740 - Add another test case to the deduction guide for basic_string.

2018-02-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Feb 21 21:14:20 2018 New Revision: 325740 URL: http://llvm.org/viewvc/llvm-project?rev=325740=rev Log: Add another test case to the deduction guide for basic_string. Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp

[libcxx] r325147 - Add a catch for std::length_error for the case where the string can't handle 2GB. (like say 32-bit big-endian)

2018-02-14 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Feb 14 10:05:25 2018 New Revision: 325147 URL: http://llvm.org/viewvc/llvm-project?rev=325147=rev Log: Add a catch for std::length_error for the case where the string can't handle 2GB. (like say 32-bit big-endian) Modified:

[libcxx] r324923 - Implement LWG 2835 - fix

2018-02-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 12 11:13:24 2018 New Revision: 324923 URL: http://llvm.org/viewvc/llvm-project?rev=324923=rev Log: Implement LWG 2835 - fix Modified: libcxx/trunk/include/tgmath.h libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/include/tgmath.h URL:

[libcxx] r324911 - Implement LWG#2908 - The less-than operator for shared pointers could do more, and mark 2878 as complete as well (we already do that)

2018-02-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 12 09:26:40 2018 New Revision: 324911 URL: http://llvm.org/viewvc/llvm-project?rev=324911=rev Log: Implement LWG#2908 - The less-than operator for shared pointers could do more, and mark 2878 as complete as well (we already do that) Modified:

[libcxx] r324895 - While implementing P0777 - preventing unnecessary decay, I found some non-public uses of decay that could be replaced by __uncvref. NFC intented

2018-02-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 12 07:41:25 2018 New Revision: 324895 URL: http://llvm.org/viewvc/llvm-project?rev=324895=rev Log: While implementing P0777 - preventing unnecessary decay, I found some non-public uses of decay that could be replaced by __uncvref. NFC intented Modified:

[libcxx] r324851 - Fix a typo in the synopsis comment. NFC. Thanks to K-ballo for the catch

2018-02-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Feb 11 13:51:49 2018 New Revision: 324851 URL: http://llvm.org/viewvc/llvm-project?rev=324851=rev Log: Fix a typo in the synopsis comment. NFC. Thanks to K-ballo for the catch Modified: libcxx/trunk/include/utility Modified: libcxx/trunk/include/utility URL:

[libcxx] r324640 - The apple versions of clang don't support deduction guides yet.

2018-02-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Feb 8 11:33:03 2018 New Revision: 324640 URL: http://llvm.org/viewvc/llvm-project?rev=324640=rev Log: The apple versions of clang don't support deduction guides yet. Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp

[libcxx] r324624 - Once more, with feeling. Spell 'clang-4.0' correctly this time

2018-02-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Feb 8 09:06:08 2018 New Revision: 324624 URL: http://llvm.org/viewvc/llvm-project?rev=324624=rev Log: Once more, with feeling. Spell 'clang-4.0' correctly this time Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc_deduction.fail.cpp

[libcxx] r324619 - Clean up string's deduction guides tests. Mark old versions of clang as unsupported, b/c they don't have deduction guides, even in C++17 mode

2018-02-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Feb 8 08:25:57 2018 New Revision: 324619 URL: http://llvm.org/viewvc/llvm-project?rev=324619=rev Log: Clean up string's deduction guides tests. Mark old versions of clang as unsupported, b/c they don't have deduction guides, even in C++17 mode Added:

[libcxx] r324609 - Update the status of removed components

2018-02-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Feb 8 06:51:22 2018 New Revision: 324609 URL: http://llvm.org/viewvc/llvm-project?rev=324609=rev Log: Update the status of removed components Modified: libcxx/trunk/www/TS_deprecation.html Modified: libcxx/trunk/www/TS_deprecation.html URL:

  1   2   3   4   5   6   7   8   9   >