[libcxx] r305198 - Mark the recent variant test as UNSUPPORTED for C++ before 17

2017-06-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jun 12 11:33:41 2017 New Revision: 305198 URL: http://llvm.org/viewvc/llvm-project?rev=305198&view=rev Log: Mark the recent variant test as UNSUPPORTED for C++ before 17 Modified: libcxx/trunk/test/libcxx/utilities/variant/variant.variant/variant.helper/variant_alt

[libcxx] r305268 - Add a test with an empty input range - should do nothing

2017-06-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jun 12 21:28:40 2017 New Revision: 305268 URL: http://llvm.org/viewvc/llvm-project?rev=305268&view=rev Log: Add a test with an empty input range - should do nothing Modified: libcxx/trunk/test/std/numerics/numeric.ops/transform.exclusive.scan/transform_exclusive_sc

[libcxx] r305292 - Fix bug 33389 - __is_transparent check requires too much

2017-06-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jun 13 09:34:58 2017 New Revision: 305292 URL: http://llvm.org/viewvc/llvm-project?rev=305292&view=rev Log: Fix bug 33389 - __is_transparent check requires too much Modified: libcxx/trunk/include/__functional_base libcxx/trunk/test/std/containers/associative/map

[libcxx] r305365 - Implement the non-parallel versions of reduce and transform_reduce for C++17

2017-06-13 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jun 13 23:48:45 2017 New Revision: 305365 URL: http://llvm.org/viewvc/llvm-project?rev=305365&view=rev Log: Implement the non-parallel versions of reduce and transform_reduce for C++17 Added: libcxx/trunk/test/std/numerics/numeric.ops/reduce/ libcxx/trunk/test/s

[libcxx] r305397 - In several places in std::allocator (and one in shared_ptr, we were casting a 'const T*' to a 'void *' - implicitly casting away the const. Add const_cast to make that expl

2017-06-14 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jun 14 11:54:43 2017 New Revision: 305397 URL: http://llvm.org/viewvc/llvm-project?rev=305397&view=rev Log: In several places in std::allocator (and one in shared_ptr, we were casting a 'const T*' to a 'void *' - implicitly casting away the const. Add const_cast to mak

[libcxx] r305410 - Add some const_casts in places where we were implicitly casting away constness. No functional change, but now they're explicit

2017-06-14 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jun 14 15:00:36 2017 New Revision: 305410 URL: http://llvm.org/viewvc/llvm-project?rev=305410&view=rev Log: Add some const_casts in places where we were implicitly casting away constness. No functional change, but now they're explicit Modified: libcxx/trunk/include

[libcxx] r305417 - Rework some metaprogramming to use the detection idiom; no functional change

2017-06-14 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jun 14 16:23:57 2017 New Revision: 305417 URL: http://llvm.org/viewvc/llvm-project?rev=305417&view=rev Log: Rework some metaprogramming to use the detection idiom; no functional change Modified: libcxx/trunk/include/memory Modified: libcxx/trunk/include/memory URL:

[libcxx] r305453 - Renamed some of the newly added tests. No functional change

2017-06-14 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Jun 15 00:44:49 2017 New Revision: 305453 URL: http://llvm.org/viewvc/llvm-project?rev=305453&view=rev Log: Renamed some of the newly added tests. No functional change Added: libcxx/trunk/test/std/numerics/numeric.ops/exclusive.scan/exclusive_scan.pass.cpp -

[libcxx] r305469 - Add missing include to __bsd_locale_fallbacks.h. Fixes https://bugs.llvm.org/show_bug.cgi?id=33370

2017-06-15 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Jun 15 09:31:11 2017 New Revision: 305469 URL: http://llvm.org/viewvc/llvm-project?rev=305469&view=rev Log: Add missing include to __bsd_locale_fallbacks.h. Fixes https://bugs.llvm.org/show_bug.cgi?id=33370 Modified: libcxx/trunk/include/__bsd_locale_fallbacks.h

[libunwind] r305924 - Change -1LL to -1ULL to silence a gcc warning about left shifting a negative value. Fixes https://bugs.llvm.org/show_bug.cgi?id=33358

2017-06-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jun 21 11:02:53 2017 New Revision: 305924 URL: http://llvm.org/viewvc/llvm-project?rev=305924&view=rev Log: Change -1LL to -1ULL to silence a gcc warning about left shifting a negative value. Fixes https://bugs.llvm.org/show_bug.cgi?id=33358 Modified: libunwind/tru

[libcxxabi] r305977 - Add some catch(...) blocks to the tests so that if they fail, we get a good error message. No functional change.

2017-06-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jun 21 19:49:03 2017 New Revision: 305977 URL: http://llvm.org/viewvc/llvm-project?rev=305977&view=rev Log: Add some catch(...) blocks to the tests so that if they fail, we get a good error message. No functional change. Modified: libcxxabi/trunk/test/incomplete_ty

[libcxx] r306083 - Implement inclusive_scan/transform_inclusive_scan for C++17.

2017-06-22 Thread Marshall Clow via cfe-commits
Author: marshall Date: Fri Jun 23 00:12:42 2017 New Revision: 306083 URL: http://llvm.org/viewvc/llvm-project?rev=306083&view=rev Log: Implement inclusive_scan/transform_inclusive_scan for C++17. Added: libcxx/trunk/test/std/numerics/numeric.ops/inclusive.scan/ libcxx/trunk/test/std/nume

[libcxx] r306269 - Updated for the Toronto meeting

2017-06-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Jun 25 21:25:15 2017 New Revision: 306269 URL: http://llvm.org/viewvc/llvm-project?rev=306269&view=rev Log: Updated for the Toronto meeting Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewv

[libcxx] r321188 - Fix the definitions of 'reference' and 'pointer' in string_view that no one uses :-). Thanks to K-ballo for the catch.

2017-12-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Dec 20 08:31:40 2017 New Revision: 321188 URL: http://llvm.org/viewvc/llvm-project?rev=321188&view=rev Log: Fix the definitions of 'reference' and 'pointer' in string_view that no one uses :-). Thanks to K-ballo for the catch. Added: libcxx/trunk/test/std/strings/s

[libcxx] r321658 - Implement most of P0607: Inline Variables for the Standard Library. This involved marking a lot of variables as inline (but only for C++17 and later).

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 09:17:01 2018 New Revision: 321658 URL: http://llvm.org/viewvc/llvm-project?rev=321658&view=rev Log: Implement most of P0607: Inline Variables for the Standard Library. This involved marking a lot of variables as inline (but only for C++17 and later). Modified:

[libcxx] r321661 - A couple more inlined variables that I missed the first time

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 10:41:01 2018 New Revision: 321661 URL: http://llvm.org/viewvc/llvm-project?rev=321661&view=rev Log: A couple more inlined variables that I missed the first time Modified: libcxx/trunk/include/type_traits libcxx/trunk/www/cxx1z_status.html Modified: libc

[libcxx] r321663 - Temporarily revert the inlining of 'piecewise_construct' because it is exported from the dylib.

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 10:57:47 2018 New Revision: 321663 URL: http://llvm.org/viewvc/llvm-project?rev=321663&view=rev Log: Temporarily revert the inlining of 'piecewise_construct' because it is exported from the dylib. Modified: libcxx/trunk/include/utility Modified: libcxx/trun

[libcxx] r321664 - Un-inline a few more variables that are exported from the dylib.

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 11:01:45 2018 New Revision: 321664 URL: http://llvm.org/viewvc/llvm-project?rev=321664&view=rev Log: Un-inline a few more variables that are exported from the dylib. Modified: libcxx/trunk/include/__functional_base libcxx/trunk/include/functional Modifie

[libcxx] r321666 - One more (should be) inline variable that is defined in the dylib

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 11:23:30 2018 New Revision: 321666 URL: http://llvm.org/viewvc/llvm-project?rev=321666&view=rev Log: One more (should be) inline variable that is defined in the dylib Modified: libcxx/trunk/include/__mutex_base Modified: libcxx/trunk/include/__mutex_base URL

[libcxx] r321685 - Implement p0258r2: has_unique_object_representations

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 18:32:28 2018 New Revision: 321685 URL: http://llvm.org/viewvc/llvm-project?rev=321685&view=rev Log: Implement p0258r2: has_unique_object_representations Added: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations

[libcxx] r321687 - Mark issue #2866 as "nothing to do"

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 19:43:32 2018 New Revision: 321687 URL: http://llvm.org/viewvc/llvm-project?rev=321687&view=rev Log: Mark issue #2866 as "nothing to do" Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm.org/viewvc/l

[libcxx] r321689 - Mark LWG2824 as complete. We already did it, but I added a test to be sure

2018-01-02 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Jan 2 20:37:30 2018 New Revision: 321689 URL: http://llvm.org/viewvc/llvm-project?rev=321689&view=rev Log: Mark LWG2824 as complete. We already did it, but I added a test to be sure Modified: libcxx/trunk/test/std/containers/sequences/list/list.ops/sort_comp.pass.c

[libcxx] r321966 - Mark the transparent version set::count() as const. Thanks to Ivan Matek for the bug report.

2018-01-07 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Jan 7 09:39:57 2018 New Revision: 321966 URL: http://llvm.org/viewvc/llvm-project?rev=321966&view=rev Log: Mark the transparent version set::count() as const. Thanks to Ivan Matek for the bug report. Modified: libcxx/trunk/include/set Modified: libcxx/trunk/inclu

[libcxx] r322011 - Document upcoming TS feature removal

2018-01-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jan 8 09:43:46 2018 New Revision: 322011 URL: http://llvm.org/viewvc/llvm-project?rev=322011&view=rev Log: Document upcoming TS feature removal Added: libcxx/trunk/www/TS_deprecation.html Added: libcxx/trunk/www/TS_deprecation.html URL: http://llvm.org/viewvc/llv

[libcxx] r322019 - Add the C++17 extensions to std::search. Include the default searcher, but not the Boyer-Moore or Boyer-Moore-Horspool searcher (yet). BUT put the BM and BMH tests in place, marked

2018-01-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jan 8 11:18:00 2018 New Revision: 322019 URL: http://llvm.org/viewvc/llvm-project?rev=322019&view=rev Log: Add the C++17 extensions to std::search. Include the default searcher, but not the Boyer-Moore or Boyer-Moore-Horspool searcher (yet). BUT put the BM and BMH tes

[libcxx] r322034 - Apparently 'C++14' is different than 'c++14'

2018-01-08 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Jan 8 14:16:30 2018 New Revision: 322034 URL: http://llvm.org/viewvc/llvm-project?rev=322034&view=rev Log: Apparently 'C++14' is different than 'c++14' Modified: libcxx/trunk/test/std/utilities/function.objects/func.search/func.search.bm/hash.pass.cpp Modified:

[libcxx] r322196 - Fix misspelled macro name - thanks to and...@ispras.ru for the catch

2018-01-10 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Jan 10 08:25:04 2018 New Revision: 322196 URL: http://llvm.org/viewvc/llvm-project?rev=322196&view=rev Log: Fix misspelled macro name - thanks to and...@ispras.ru for the catch Modified: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp M

[libcxx] r322295 - Fix some too-big local arrays. Thanks to dcdillon for the patch. Reviewed as D28217

2018-01-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Jan 11 09:16:52 2018 New Revision: 322295 URL: http://llvm.org/viewvc/llvm-project?rev=322295&view=rev Log: Fix some too-big local arrays. Thanks to dcdillon for the patch. Reviewed as D28217 Modified: libcxx/trunk/src/locale.cpp Modified: libcxx/trunk/src/locale.

[libcxx] r322306 - Implement an _is_allocator type trait for use in deduction guides.

2018-01-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Jan 11 11:36:22 2018 New Revision: 322306 URL: http://llvm.org/viewvc/llvm-project?rev=322306&view=rev Log: Implement an _is_allocator type trait for use in deduction guides. Added: libcxx/trunk/test/libcxx/memory/ libcxx/trunk/test/libcxx/memory/is_allocator.pa

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

[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&view=rev Log: Implement P0767R1 - Deprecate POD Modified: libcxx/trunk/test/std/language.support/support.types/byte.pass.cpp libcxx/trunk/test/std/language.support/supp

[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&view=rev Log: One more test for P0767: Modified: libcxx/trunk/test/std/depr/depr.c.headers/stddef_h.pass.cpp Modified: libcxx/trunk/test/std/depr/depr.c.headers/stddef_h.p

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

[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&view=rev Log: Implement LWG#2518 - Non-member swap for propagate_const should call member swap Modified: libcxx/trunk/include/experimental/propagate_const libcxx/trunk/

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

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

[libcxx] r334894 - Remove P0771, which was not passed in Rapperswil

2018-06-16 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sat Jun 16 11:03:29 2018 New Revision: 334894 URL: http://llvm.org/viewvc/llvm-project?rev=334894&view=rev Log: Remove P0771, which was not passed in Rapperswil Modified: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx2a_status.html URL: http://llvm.

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 pat

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 wrong:

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 incl

[libcxx] r311967 - Fix test for C++03

2017-08-28 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Aug 28 18:10:51 2017 New Revision: 311967 URL: http://llvm.org/viewvc/llvm-project?rev=311967&view=rev Log: Fix test for C++03 Modified: libcxx/trunk/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp Modified: libcxx/trunk/test/std/algorithms/

[libcxx] r312690 - Add more string_view tests

2017-09-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 6 19:46:09 2017 New Revision: 312690 URL: http://llvm.org/viewvc/llvm-project?rev=312690&view=rev Log: Add more string_view tests Added: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/string_view.pass.cpp libcxx/trunk/test/std/s

[libcxx] r312691 - Another missing string_view test

2017-09-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 6 20:03:48 2017 New Revision: 312691 URL: http://llvm.org/viewvc/llvm-project?rev=312691&view=rev Log: Another missing string_view test Added: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_assignment.pass.cpp Added: libcxx/trunk/test/std

[libcxx] r312693 - Add even more string_view tests. These found some bugs in the default parameter value for rfind/find_last_of/find_last_not_of

2017-09-06 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 6 21:19:32 2017 New Revision: 312693 URL: http://llvm.org/viewvc/llvm-project?rev=312693&view=rev Log: Add even more string_view tests. These found some bugs in the default parameter value for rfind/find_last_of/find_last_not_of Added: libcxx/trunk/test/std/s

[libcxx] r312923 - Add include of to , since things in there return strings. Fixes PR#34529.

2017-09-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Sep 11 09:05:42 2017 New Revision: 312923 URL: http://llvm.org/viewvc/llvm-project?rev=312923&view=rev Log: Add include of to , since things in there return strings. Fixes PR#34529. Added: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.ove

[libcxx] r312932 - mark mersenne_twister_engine<>::seed(result_type __sd) with _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK to placate UBSAN. Fixes PR#34160

2017-09-11 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Sep 11 11:10:33 2017 New Revision: 312932 URL: http://llvm.org/viewvc/llvm-project?rev=312932&view=rev Log: mark mersenne_twister_engine<>::seed(result_type __sd) with _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK to placate UBSAN. Fixes PR#34160 Modified: libcxx/

[libcxx] r313031 - Make pbump (internally) handle sizes bigger than MAX_INT. Fixes PR#33725 - thanks to Jonathan Wakely for the report

2017-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Sep 12 08:00:43 2017 New Revision: 313031 URL: http://llvm.org/viewvc/llvm-project?rev=313031&view=rev Log: Make pbump (internally) handle sizes bigger than MAX_INT. Fixes PR#33725 - thanks to Jonathan Wakely for the report Added: libcxx/trunk/test/std/input.outpu

[libcxx] r313056 - Apply D28224: 'Throw exception after too many steps' Fixes PR#20291. Thanks to Tim Shen for the patch

2017-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Sep 12 10:56:59 2017 New Revision: 313056 URL: http://llvm.org/viewvc/llvm-project?rev=313056&view=rev Log: Apply D28224: 'Throw exception after too many steps' Fixes PR#20291. Thanks to Tim Shen for the patch Added: libcxx/trunk/test/std/re/re.alg/re.alg.match/exp

[libcxx] r313064 - XFAIL a couple of new tests for C++03

2017-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Sep 12 12:01:32 2017 New Revision: 313064 URL: http://llvm.org/viewvc/llvm-project?rev=313064&view=rev Log: XFAIL a couple of new tests for C++03 Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/exponential.pass.cpp libcxx/trunk/test/std/re/re.alg/re.alg.

[libcxx] r313092 - Mark the new tests as unsupported when there are no exceptions

2017-09-12 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Sep 12 16:33:34 2017 New Revision: 313092 URL: http://llvm.org/viewvc/llvm-project?rev=313092&view=rev Log: Mark the new tests as unsupported when there are no exceptions Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/exponential.pass.cpp libcxx/trunk/te

[libcxx] r313776 - Fix a bit of UB in __independent_bits_engine. Fixes PR#34663

2017-09-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 20 10:34:11 2017 New Revision: 313776 URL: http://llvm.org/viewvc/llvm-project?rev=313776&view=rev Log: Fix a bit of UB in __independent_bits_engine. Fixes PR#34663 Modified: libcxx/trunk/include/algorithm Modified: libcxx/trunk/include/algorithm URL: http://l

[libcxx] r313789 - Mark the __eval methods on independent_bits_engine (and __independent_bits_engine) as const, since they make no changes to the object. NFC.

2017-09-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 20 11:32:08 2017 New Revision: 313789 URL: http://llvm.org/viewvc/llvm-project?rev=313789&view=rev Log: Mark the __eval methods on independent_bits_engine (and __independent_bits_engine) as const, since they make no changes to the object. NFC. Modified: libcxx

[libcxx] r313803 - Revert 313789 because gcc doesn't like it

2017-09-20 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 20 12:38:43 2017 New Revision: 313803 URL: http://llvm.org/viewvc/llvm-project?rev=313803&view=rev Log: Revert 313789 because gcc doesn't like it Modified: libcxx/trunk/include/algorithm libcxx/trunk/include/random Modified: libcxx/trunk/include/algorithm U

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&view=rev Log: Make more friendly with unions. Reviewed as https://reviews.llvm.org/D61858 Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp cfe/trunk/test/SemaCXX/type-trai

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

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

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

[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&view=rev Log: Update for Rapperswil Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llvm-pro

[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&view=rev Log: Status updates for Rapperswil Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/

[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&view=rev Log: Implement LWG 2946, 3075 and 3076. Reviewed as https://reviews.llvm.org/D48616 Added: libcxx/trunk/test/std/strings/basic.string/string.cons/string_view_dedu

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

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

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

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

[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&view=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] 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&view=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: http://llvm.org/viewvc/l

[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&view=rev Log: wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...) Modified: libcxx/trunk/include/__config Modified: libcxx/trunk/include/__config URL: http://llvm.org/vi

[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&view=rev Log: Mark one more __wrap_iter operation as constexpr. Modified: libcxx/trunk/include/iterator Modified: libcxx/trunk/include/iterator URL: http://llvm.org/view

[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&view=rev Log: Mark __equal_to 's operations as constexpr. Modified: libcxx/trunk/include/algorithm Modified: libcxx/trunk/include/algorithm URL: http://llvm.org/viewvc/ll

[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&view=rev Log: Update the synopsis for for C++20. No functional change. Modified: libcxx/trunk/include/chrono Modified: libcxx/trunk/include/chrono URL: http://llvm.org/

[libcxx] r282126 - Add missing _v traits. is_bind_expression_v, is_placeholder_v and uses_allocator_v

2016-09-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 21 19:23:15 2016 New Revision: 282126 URL: http://llvm.org/viewvc/llvm-project?rev=282126&view=rev Log: Add missing _v traits. is_bind_expression_v, is_placeholder_v and uses_allocator_v Modified: libcxx/trunk/include/__functional_base libcxx/trunk/include/

[libcxx] r282134 - Fix failure on 03 bot

2016-09-21 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Sep 21 22:25:22 2016 New Revision: 282134 URL: http://llvm.org/viewvc/llvm-project?rev=282134&view=rev Log: Fix failure on 03 bot Modified: libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp Modified: libcxx/trunk/t

[libcxx] r282331 - Implement is_error_code_v and is_error_condition_v for c++17. Rework the tests for is_error_code and is_error_condition, since they were really lacking. Thanks to Alisdair for the h

2016-09-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sat Sep 24 12:36:14 2016 New Revision: 282331 URL: http://llvm.org/viewvc/llvm-project?rev=282331&view=rev Log: Implement is_error_code_v and is_error_condition_v for c++17. Rework the tests for is_error_code and is_error_condition, since they were really lacking. Thanks t

[libcxx] r282332 - Fix incorrect include in is_error_code_enum.pass.cpp

2016-09-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sat Sep 24 13:16:53 2016 New Revision: 282332 URL: http://llvm.org/viewvc/llvm-project?rev=282332&view=rev Log: Fix incorrect include in is_error_code_enum.pass.cpp Modified: libcxx/trunk/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp Modified: libcxx/trunk/te

Re: [PATCH] D24446: Implement revision to LWG#2758

2016-09-24 Thread Marshall Clow via cfe-commits
mclow.lists closed this revision. mclow.lists added a comment. Landed as revision 282342. Comment at: include/string:613 @@ +612,3 @@ + ( is_convertible >::value && + !is_convertible::value)) {}; + EricWF wrote: > The discussion for LWG 2758 gives a `

[libcxx] r282343 - Fix a few static_asserts that need extra parens on -03

2016-09-24 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sat Sep 24 18:52:21 2016 New Revision: 282343 URL: http://llvm.org/viewvc/llvm-project?rev=282343&view=rev Log: Fix a few static_asserts that need extra parens on -03 Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.p

Re: [PATCH] D14259: The maximum alignment of std::aligned_storage applies to all Windows compilers

2016-09-26 Thread Marshall Clow via cfe-commits
mclow.lists accepted this revision. mclow.lists added a comment. I guess this is OK. I'd rather not have naked `_WIN32` references outside of <__config>, but this is not the first one. https://reviews.llvm.org/D14259 ___ cfe-commits mailing list cf

Re: [PATCH] D24372: [libcxx] Sprinkle constexpr over compressed_pair

2016-09-27 Thread Marshall Clow via cfe-commits
mclow.lists accepted this revision. mclow.lists added a comment. This revision is now accepted and ready to land. This looks good to me. I appreciate the cleverness in the tests. Repository: rL LLVM https://reviews.llvm.org/D24372 ___ cfe-commit

Re: [PATCH] D25053: [libc++] Correct alignment condition

2016-09-28 Thread Marshall Clow via cfe-commits
mclow.lists added a comment. How is this different from https://reviews.llvm.org/D14259 ?? https://reviews.llvm.org/D25053 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r283112 - List tentatively ready issues for Issaquah

2016-10-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 3 09:23:04 2016 New Revision: 283112 URL: http://llvm.org/viewvc/llvm-project?rev=283112&view=rev Log: List tentatively ready issues for Issaquah Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llv

[libcxx] r283113 - Change titie of page from Oulu to Issaquah

2016-10-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 3 09:24:21 2016 New Revision: 283113 URL: http://llvm.org/viewvc/llvm-project?rev=283113&view=rev Log: Change titie of page from Oulu to Issaquah Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llv

[libcxx] r283124 - Mark a couple issues as done (2742 and 2760)

2016-10-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 3 12:35:08 2016 New Revision: 283124 URL: http://llvm.org/viewvc/llvm-project?rev=283124&view=rev Log: Mark a couple issues as done (2742 and 2760) Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://l

[libcxx] r283161 - Add tests to make sure that is_constructible is false. We already checked 'unqualified void'. This was brought up by LWG#2738

2016-10-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 3 18:39:52 2016 New Revision: 283161 URL: http://llvm.org/viewvc/llvm-project?rev=283161&view=rev Log: Add tests to make sure that is_constructible is false. We already checked 'unqualified void'. This was brought up by LWG#2738 Modified: libcxx/trunk/test/st

[libcxx] r283162 - Change a couple of 'template

2016-10-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 3 18:40:48 2016 New Revision: 283162 URL: http://llvm.org/viewvc/llvm-project?rev=283162&view=rev Log: Change a couple of 'template http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string?rev=283162&r1=283161&r2=283162&view=diff =

[libcxx] r283163 - Mark a couple more Issaquah issues as done: 2578 and 2738

2016-10-03 Thread Marshall Clow via cfe-commits
Author: marshall Date: Mon Oct 3 18:42:31 2016 New Revision: 283163 URL: http://llvm.org/viewvc/llvm-project?rev=283163&view=rev Log: Mark a couple more Issaquah issues as done: 2578 and 2738 Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html U

[libcxx] r283218 - Mark #2739 as ready

2016-10-04 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Oct 4 08:41:56 2016 New Revision: 283218 URL: http://llvm.org/viewvc/llvm-project?rev=283218&view=rev Log: Mark #2739 as ready Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llvm-proje

[libcxx] r283220 - Mark #2598 as ready

2016-10-04 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Oct 4 09:08:50 2016 New Revision: 283220 URL: http://llvm.org/viewvc/llvm-project?rev=283220&view=rev Log: Mark #2598 as ready Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llvm-proje

[libcxx] r283222 - Mark #2759 as ready and #2755 as complete

2016-10-04 Thread Marshall Clow via cfe-commits
Author: marshall Date: Tue Oct 4 09:39:58 2016 New Revision: 283222 URL: http://llvm.org/viewvc/llvm-project?rev=283222&view=rev Log: Mark #2759 as ready and #2755 as complete Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm

[PATCH] D25241: [libcxx] Improve code generation for vector::clear().

2016-10-04 Thread Marshall Clow via cfe-commits
mclow.lists added a comment. I had no idea that we had no tests for `vector::clear`. Oosps. This looks good to me, but I want to play with the codegen for a bit before approving it. Also, you should add `cfe-commits` to the subscribers. thanks for doing this! > clear.pass.cpp:25 > +c.cle

[PATCH] D25053: [libc++] Correct alignment condition

2016-10-04 Thread Marshall Clow via cfe-commits
mclow.lists accepted this revision. mclow.lists added a comment. I will land this, and close the other one, too. https://reviews.llvm.org/D25053 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/c

[PATCH] D24085: arm: Fix ttype encoding assertion failure.

2016-10-05 Thread Marshall Clow via cfe-commits
mclow.lists added inline comments. > cxa_personality.cpp:363 > + "Unexpected TTypeEncoding"); > (void)ttypeEncoding; > It's not clear to me how this accomplishes what you want. You're looking for `00/10/90`, right? Why not just check for that? Why are you anding with 0x0f ? Be

[PATCH] D24012: Fix strict-aliasing violation in typeinfo::hash_code()

2016-10-05 Thread Marshall Clow via cfe-commits
mclow.lists added a comment. Adding a reference here: https://llvm.org/bugs/show_bug.cgi?id=30613 https://reviews.llvm.org/D24012 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r283325 - Mark LWG issues 2221, 2556 and 2589 as complete

2016-10-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 5 10:21:11 2016 New Revision: 283325 URL: http://llvm.org/viewvc/llvm-project?rev=283325&view=rev Log: Mark LWG issues 2221, 2556 and 2589 as complete Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http:

[libcxx] r283331 - Add another append test for basic_string

2016-10-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 5 10:47:13 2016 New Revision: 283331 URL: http://llvm.org/viewvc/llvm-project?rev=283331&view=rev Log: Add another append test for basic_string Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp Modified:

[libcxx] r283339 - Make tests for is_empty better. No functional change.

2016-10-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 5 12:01:16 2016 New Revision: 283339 URL: http://llvm.org/viewvc/llvm-project?rev=283339&view=rev Log: Make tests for is_empty better. No functional change. Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp Modified:

[libcxx] r283341 - Mark LWG#2358 as done

2016-10-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 5 12:02:43 2016 New Revision: 283341 URL: http://llvm.org/viewvc/llvm-project?rev=283341&view=rev Log: Mark LWG#2358 as done Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llvm-pro

[libcxx] r283356 - Mark LWG#2679 as complete

2016-10-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 5 13:36:24 2016 New Revision: 283356 URL: http://llvm.org/viewvc/llvm-project?rev=283356&view=rev Log: Mark LWG#2679 as complete Modified: libcxx/trunk/www/upcoming_meeting.html Modified: libcxx/trunk/www/upcoming_meeting.html URL: http://llvm.org/viewvc/llvm

[libcxx] r283360 - Comment out failing test while I figure out who is at fault

2016-10-05 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 5 13:47:18 2016 New Revision: 283360 URL: http://llvm.org/viewvc/llvm-project?rev=283360&view=rev Log: Comment out failing test while I figure out who is at fault Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp Modi

[PATCH] D24012: Fix strict-aliasing violation in typeinfo::hash_code()

2016-10-05 Thread Marshall Clow via cfe-commits
mclow.lists accepted this revision. mclow.lists added a comment. This revision is now accepted and ready to land. LGTM. https://reviews.llvm.org/D24012 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/lis

<    1   2   3   4   5   6   7   8   9   10   >