[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&view=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 th

[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&view=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/trunk/

[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&view=rev Log: Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 Added: libcxx/trunk/include/bit Modified: libcxx/trunk/include/algorithm l

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 >

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 >> >> /b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/include/c++/v1/a

[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&view=rev Log: Recommit r339943 - Establish the header. NFC yet. Reviewed as https://reviews.llvm.org/D50815 - with a fix for the sanitizer bots Added: libcxx/trunk/includ

[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&view=rev Log: Refactor the newly created header. Still (almost) NFC. Reviewed as https://reviews.llvm.org/D50876 Modified: libcxx/trunk/include/__bit_reference libcxx

[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&view=rev Log: Fix Bug 38644: multimap::clear() missing exception specifier. Add noexcept tests for all the containers that have clear(). Added: libcxx/trunk/test/std/cont

[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&view=rev Log: More notes on Rapperswil issues Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewv

[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&view=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.c

[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&view=rev Log: Disable 'missing-braces' warning Modified: libcxx/trunk/test/std/containers/sequences/array/array.cons/deduct.fail.cpp libcxx/trunk/test/std/containers/se

[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&view=rev Log: Implement deduction guides for Added: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp libcxx/trunk/test/std/containers/sequen

[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&view=rev Log: Remove expression '1L + INT_MAX', because it overflows on machines where int/long are the same size Modified: libcxx/trunk/test/std/containers/sequences/dequ

[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&view=rev Log: Implement deduction guides for forward_list Added: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp libcxx/trunk/

[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&view=rev Log: Deduction guides for list Added: libcxx/trunk/test/std/containers/sequences/list/list.cons/deduct.fail.cpp libcxx/trunk/test/std/containers/sequences/list

[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&view=rev Log: Implement deduction guides for vector Added: libcxx/trunk/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp libcxx/trunk/test/std/contain

[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&view=rev Log: Deduction guides for the container adaptors - queue, stack, and priority_queue Added: libcxx/trunk/test/std/containers/container.adaptors/queue/queue.cons/de

[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&view=rev Log: Missed the tests for the deduction guides for prority_queue Added: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fa

[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&view=rev Log: Change the names of two private methods: allocate -> __vallocate and deallocate -> __vdeallocate. NFC. This change triggered by https://gcc.gnu.org/bugzilla/show

[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&view=rev Log: Implement deduction guides for basic_regex Added: libcxx/trunk/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp libcxx/trunk/test/std/re/re.regex/r

[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&view=rev Log: Mark more bits of P0433 as complete. Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm.org/viewvc/

[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&view=rev Log: Add deduction guides for optional Added: libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp libcxx/trunk/test

[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&view=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/tru

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&view=rev > Log: > Add nonnull; use it for atomics > > JF - please revert th

[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&view=rev Log: Mark the template deduction tests as UNSUPPORTED on clang 5, because it deduces the wrong type. Modified: libcxx/trunk/test/std/containers/container.adaptor

[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&view=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/trunk/test

[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&view=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] 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&view=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/trunk

[libcxx] r314940 - Initial cut at infastructure for fuzzing support for OSS-fuzz

2017-10-04 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 4 15:23:03 2017 New Revision: 314940 URL: http://llvm.org/viewvc/llvm-project?rev=314940&view=rev Log: Initial cut at infastructure for fuzzing support for OSS-fuzz Added: libcxx/trunk/fuzzing/ libcxx/trunk/fuzzing/fuzzing.cpp libcxx/trunk/fuzzing/fuzzi

[libcxx] r315582 - More fuzzing infastructre - regex

2017-10-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Oct 12 07:48:09 2017 New Revision: 315582 URL: http://llvm.org/viewvc/llvm-project?rev=315582&view=rev Log: More fuzzing infastructre - regex Added: libcxx/trunk/test/libcxx/fuzzing/regex_ECMAScript.cpp libcxx/trunk/test/libcxx/fuzzing/regex_POSIX.cpp libcxx

[libcxx] r316095 - Fix regex bug with ^\W. Thanks to Tim Shen for the patch. Reviewed as https://reviews.llvm.org/D37955

2017-10-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 18 09:49:22 2017 New Revision: 316095 URL: http://llvm.org/viewvc/llvm-project?rev=316095&view=rev Log: Fix regex bug with ^\W. Thanks to Tim Shen for the patch. Reviewed as https://reviews.llvm.org/D37955 Added: libcxx/trunk/test/std/re/re.alg/re.alg.search/i

[libcxx] r316125 - Fix a think-o in the design of the stable_XXX sort tests; only shows up for test cases > 255 elements

2017-10-18 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 18 13:40:57 2017 New Revision: 316125 URL: http://llvm.org/viewvc/llvm-project?rev=316125&view=rev Log: Fix a think-o in the design of the stable_XXX sort tests; only shows up for test cases > 255 elements Modified: libcxx/trunk/fuzzing/fuzzing.cpp Modified: l

[libcxx] r316172 - Fix UB - signed integer overflow in regex. Thanks to Tim Shen for the patch. Reviewed as https://reviews.llvm.org/D39066

2017-10-19 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Oct 19 10:39:16 2017 New Revision: 316172 URL: http://llvm.org/viewvc/llvm-project?rev=316172&view=rev Log: Fix UB - signed integer overflow in regex. Thanks to Tim Shen for the patch. Reviewed as https://reviews.llvm.org/D39066 Added: libcxx/trunk/test/std/re/re.g

[libcxx] r316191 - Fix an unsigned integer overflow in regex that lead to a bad memory access. Found by OSS-Fuzz

2017-10-19 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Oct 19 15:10:41 2017 New Revision: 316191 URL: http://llvm.org/viewvc/llvm-project?rev=316191&view=rev Log: Fix an unsigned integer overflow in regex that lead to a bad memory access. Found by OSS-Fuzz Modified: libcxx/trunk/include/regex libcxx/trunk/test/std/

[libcxx] r316343 - Fix misguided error message in debug mode. No functional change. Fixes PR#34966

2017-10-23 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 23 09:46:44 2017 New Revision: 316343 URL: http://llvm.org/viewvc/llvm-project?rev=316343&view=rev Log: Fix misguided error message in debug mode. No functional change. Fixes PR#34966 Modified: libcxx/trunk/include/list Modified: libcxx/trunk/include/list URL:

[libcxx] r316394 - More fuzzing interfaces

2017-10-23 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 23 16:19:30 2017 New Revision: 316394 URL: http://llvm.org/viewvc/llvm-project?rev=316394&view=rev Log: More fuzzing interfaces Added: libcxx/trunk/fuzzing/RoutineNames.txt Modified: libcxx/trunk/fuzzing/fuzzing.cpp libcxx/trunk/fuzzing/fuzzing.h Added:

[libcxx] r316439 - Mark string_view literals as 'noexcept'. Fixes PR#25054. Thanks to Pavel K for the bug report.

2017-10-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Oct 24 07:06:00 2017 New Revision: 316439 URL: http://llvm.org/viewvc/llvm-project?rev=316439&view=rev Log: Mark string_view literals as 'noexcept'. Fixes PR#25054. Thanks to Pavel K for the bug report. Modified: libcxx/trunk/include/string_view libcxx/trunk/t

[libcxx] r316456 - Mark string_view's constructor from (ptr, len) as noexcept (an extension). Update the tests to check this (and other noexcept bits

2017-10-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Oct 24 09:30:06 2017 New Revision: 316456 URL: http://llvm.org/viewvc/llvm-project?rev=316456&view=rev Log: Mark string_view's constructor from (ptr,len) as noexcept (an extension). Update the tests to check this (and other noexcept bits Modified: libcxx/trunk/incl

[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&view=rev Log: Mark P0556 as 'in progress' Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL: http://llvm.org/viewvc/llvm-proj

[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&view=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/trunk

[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&view=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, s

[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&view=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] 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&view=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: lib

[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&view=rev Log: Update the synopsis for . NFC Modified: libcxx/trunk/include/version Modified: libcxx/trunk/include/version URL: http://llvm.org/viewvc/llvm-project/libcxx/

[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&view=rev Log: Implement LWG #3017. list splice functions should use addressof Modified: libcxx/trunk/include/list libcxx/trunk/test/std/containers/sequences/list/list.o

[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&view=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_exceptio

[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&view=rev Log: mark LWG#2953 as complete. No code changes required, but added a couple of extra tests. Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.mod

[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&view=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 UR

[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&view=rev Log: Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955 Added: libcx

[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&view=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 libcx

[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&view=rev Log: Disable 'suggest braces' warnings for std::array in tests Modified: libcxx/trunk/test/std/containers/views/span.cons/deduct.pass.cpp libcxx/trunk/test/std

[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&view=rev Log: fix nesting of namespace and standard-version check. Also include <__config> Modified: libcxx/trunk/include/span Modified: libcxx/trunk/include/span URL: ht

[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&view=rev Log: Mark as complete Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL: http://llvm.org/viewvc/llvm-project/libcxx/

[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&view=rev Log: New test support for comparisons. Reviewed as https://reviews.llvm.org/D49773 Added: libcxx/trunk/test/support/test_comparisons.h Added: libcxx/trunk/test/su

[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&view=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 d

[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&view=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

[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&view=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 al

[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&view=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/trunk/in

[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&view=rev Log: Final bit of P0063 - make sure that aligned_alloc is available when the underlying C library supports it Modified: libcxx/trunk/test/std/depr/depr.c.headers/

[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&view=rev Log: Implement P0887: The identity metafunction Added: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp Modified: libcx

[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&view=rev Log: Implement P1023: constexpr comparison operators for std::array Modified: libcxx/trunk/include/array libcxx/trunk/test/std/containers/sequences/array/compa

[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&view=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/tru

[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&view=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: htt

[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&view=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/trunk/test/std/utiliti

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

2018-02-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 5 15:43:34 2018 New Revision: 324290 URL: http://llvm.org/viewvc/llvm-project?rev=324290&view=rev Log: Remove ; use instead. See https://libcxx.llvm.org/TS_deprecation.html Removed: libcxx/trunk/test/std/experimental/string.view/ Modified: libcxx/trunk/in

[libcxx] r324292 - Add issues in 'Review'

2018-02-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 5 15:50:49 2018 New Revision: 324292 URL: http://llvm.org/viewvc/llvm-project?rev=324292&view=rev Log: Add issues in 'Review' Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llvm-pr

[libcxx] r324307 - More patches ready

2018-02-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 5 17:59:28 2018 New Revision: 324307 URL: http://llvm.org/viewvc/llvm-project?rev=324307&view=rev Log: More patches ready Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llvm-projec

[libcxx] r324310 - Mark issue 3034 as 'Patch Ready'

2018-02-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 5 19:23:16 2018 New Revision: 324310 URL: http://llvm.org/viewvc/llvm-project?rev=324310&view=rev Log: Mark issue 3034 as 'Patch Ready' Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/view

[libcxx] r324312 - No, really this time mark 3034 as 'Patch Ready'

2018-02-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Feb 5 19:24:21 2018 New Revision: 324312 URL: http://llvm.org/viewvc/llvm-project?rev=324312&view=rev Log: No, really this time mark 3034 as 'Patch Ready' Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http:

[libcxx] r324378 - Fix misleading indentation; replace a couple of NULLs with nullptr. Resolves https://reviews.llvm.org/D42945 ; thanks to Bruce Mitchener for the patch.

2018-02-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Feb 6 10:58:05 2018 New Revision: 324378 URL: http://llvm.org/viewvc/llvm-project?rev=324378&view=rev Log: Fix misleading indentation; replace a couple of NULLs with nullptr. Resolves https://reviews.llvm.org/D42945 ; thanks to Bruce Mitchener for the patch. Modified:

[libcxx] r324398 - Implement P0777: Treating unnecessay decay

2018-02-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Feb 6 12:56:55 2018 New Revision: 324398 URL: http://llvm.org/viewvc/llvm-project?rev=324398&view=rev Log: Implement P0777: Treating unnecessay decay Modified: libcxx/trunk/include/optional libcxx/trunk/include/tuple libcxx/trunk/include/type_traits lib

[libcxx] r324399 - Mark P0777 as complete

2018-02-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Feb 6 13:00:58 2018 New Revision: 324399 URL: http://llvm.org/viewvc/llvm-project?rev=324399&view=rev Log: Mark P0777 as complete Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL: http://llvm.org/viewvc/llvm-project/li

[libcxx] r324423 - Remove more of the std::experimental bits that are now in std::. All the _v type aliases, conjunction/disjunction, apply, etc. See https://libcxx.llvm.org/TS_deprecation.html

2018-02-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Feb 6 15:13:48 2018 New Revision: 324423 URL: http://llvm.org/viewvc/llvm-project?rev=324423&view=rev Log: Remove more of the std::experimental bits that are now in std::. All the _v type aliases, conjunction/disjunction, apply, etc. See https://libcxx.llvm.org/TS_dep

[libcxx] r324503 - Comment on 'Review' issues

2018-02-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Feb 7 11:24:37 2018 New Revision: 324503 URL: http://llvm.org/viewvc/llvm-project?rev=324503&view=rev Log: Comment on 'Review' issues Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llv

[libcxx] r324531 - Fix PR#31454 - 'basic_string::push_back() crashes if sizeof(T)>sizeof(long long)'. We were mishandling the small-string optimization calculations for very large 'characters'. Thi

2018-02-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Feb 7 13:30:17 2018 New Revision: 324531 URL: http://llvm.org/viewvc/llvm-project?rev=324531&view=rev Log: Fix PR#31454 - 'basic_string::push_back() crashes if sizeof(T)>sizeof(long long)'. We were mishandling the small-string optimization calculations for very large

[libcxx] r324566 - Improve a test. NFC

2018-02-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Feb 7 21:47:40 2018 New Revision: 324566 URL: http://llvm.org/viewvc/llvm-project?rev=324566&view=rev Log: Improve a test. NFC Modified: libcxx/trunk/test/libcxx/memory/is_allocator.pass.cpp Modified: libcxx/trunk/test/libcxx/memory/is_allocator.pass.cpp URL: htt

[libcxx] r324569 - Implement deduction guide for basic_string as described in P0433

2018-02-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Feb 7 22:34:03 2018 New Revision: 324569 URL: http://llvm.org/viewvc/llvm-project?rev=324569&view=rev Log: Implement deduction guide for basic_string as described in P0433 Added: libcxx/trunk/test/std/strings/basic.string/string.cons/iter_alloc.fail.cpp Modified:

[libcxx] r324573 - Temporarily comment out deduction guide tests while I figure out what to do with old bots

2018-02-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Feb 7 23:20:45 2018 New Revision: 324573 URL: http://llvm.org/viewvc/llvm-project?rev=324573&view=rev Log: Temporarily comment out deduction guide tests while I figure out what to do with old bots Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/it

[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&view=rev Log: Update the status of removed components Modified: libcxx/trunk/www/TS_deprecation.html Modified: libcxx/trunk/www/TS_deprecation.html URL: http://llvm.org/v

[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&view=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/

[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&view=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] 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&view=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.cp

[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&view=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] 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&view=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: li

[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&view=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/trunk/

[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&view=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: http:/

[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&view=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/trunk/test/std/input.output

[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&view=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

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 __

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 doesn't accept that flag ye

[libcxx] r303824 - Add some constexpr tests for optional's move/copy ctor

2017-05-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed May 24 19:22:33 2017 New Revision: 303824 URL: http://llvm.org/viewvc/llvm-project?rev=303824&view=rev Log: Add some constexpr tests for optional's move/copy ctor Modified: libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp

[libcxx] r303833 - Add non-parallel version of for_each_n (+tests) from the Parallelism TS

2017-05-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed May 24 21:29:54 2017 New Revision: 303833 URL: http://llvm.org/viewvc/llvm-project?rev=303833&view=rev Log: Add non-parallel version of for_each_n (+tests) from the Parallelism TS Added: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each_n.pass.

[libcxx] r303856 - Make for_each_n only avaliable on C++17

2017-05-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu May 25 08:40:57 2017 New Revision: 303856 URL: http://llvm.org/viewvc/llvm-project?rev=303856&view=rev Log: Make for_each_n only avaliable on C++17 Modified: libcxx/trunk/include/algorithm Modified: libcxx/trunk/include/algorithm URL: http://llvm.org/viewvc/llvm-p

[libcxx] r303862 - Last commit included some extra constexpr; remove them

2017-05-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu May 25 09:20:26 2017 New Revision: 303862 URL: http://llvm.org/viewvc/llvm-project?rev=303862&view=rev Log: Last commit included some extra constexpr; remove them Modified: libcxx/trunk/include/algorithm Modified: libcxx/trunk/include/algorithm URL: http://llvm.or

[libcxx] r303876 - Mark LWG#2900 as complete - we already do this, and I checked the tests in a couple days ago (r303268 & r303824)

2017-05-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu May 25 11:05:54 2017 New Revision: 303876 URL: http://llvm.org/viewvc/llvm-project?rev=303876&view=rev Log: Mark LWG#2900 as complete - we already do this, and I checked the tests in a couple days ago (r303268 & r303824) Modified: libcxx/trunk/www/cxx1z_status.html

[libcxx] r304617 - Fix some undefined behavior in __hash_table. Thanks to vsk for the report and the patch. Reviewed as https://reviews.llvm.org/D33588.

2017-06-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jun 2 19:08:32 2017 New Revision: 304617 URL: http://llvm.org/viewvc/llvm-project?rev=304617&view=rev Log: Fix some undefined behavior in __hash_table. Thanks to vsk for the report and the patch. Reviewed as https://reviews.llvm.org/D33588. Added: libcxx/trunk/tes

[libcxx] r304629 - Fix the recently introduced test to work on C++03

2017-06-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jun 2 20:21:29 2017 New Revision: 304629 URL: http://llvm.org/viewvc/llvm-project?rev=304629&view=rev Log: Fix the recently introduced test to work on C++03 Modified: libcxx/trunk/test/libcxx/containers/unord/next_pow2.pass.cpp Modified: libcxx/trunk/test/libcxx/c

[libcxx] r305136 - Implement the non-parallel versions of exclusive_scan and transform_exclusive_scan. Reviewed as https://reviews.llvm.org/D34038.

2017-06-09 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jun 9 21:22:13 2017 New Revision: 305136 URL: http://llvm.org/viewvc/llvm-project?rev=305136&view=rev Log: Implement the non-parallel versions of exclusive_scan and transform_exclusive_scan. Reviewed as https://reviews.llvm.org/D34038. Added: libcxx/trunk/test/std

[libcxx] r305191 - [array.tuple]/1 says that instantiating tuple_element> is ill-formed if N >= M. We didn't do that. Add a static_assert to cause a failure, and a test that checks that

2017-06-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jun 12 09:41:37 2017 New Revision: 305191 URL: http://llvm.org/viewvc/llvm-project?rev=305191&view=rev Log: [array.tuple]/1 says that instantiating tuple_element> is ill-formed if N >= M. We didn't do that. Add a static_assert to cause a failure, and a test that check

[libcxx] r305196 - Make tuple_element static_assert in pair if the index is out of range. Also, add a message to variant_alternative<> in the similar case (it already asserted). Add tests for this

2017-06-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jun 12 11:13:17 2017 New Revision: 305196 URL: http://llvm.org/viewvc/llvm-project?rev=305196&view=rev Log: Make tuple_element static_assert in pair if the index is out of range. Also, add a message to variant_alternative<> in the similar case (it already asserted). Ad

  1   2   3   4   5   6   7   8   9   10   >