[libcxx] r339209 - [libcxx] [test] Add missing in several tests.

2018-08-07 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Aug 7 17:40:32 2018 New Revision: 339209 URL: http://llvm.org/viewvc/llvm-project?rev=339209&view=rev Log: [libcxx] [test] Add missing in several tests. Reviewed as https://reviews.llvm.org/D50420 Modified: libcxx/trunk/test/std/strings/basic.string/string.capacity/

[libcxx] r339212 - [libcxx] [test] Remove asserts that and are included by

2018-08-07 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Aug 7 17:43:38 2018 New Revision: 339212 URL: http://llvm.org/viewvc/llvm-project?rev=339212&view=rev Log: [libcxx] [test] Remove asserts that and are included by Reviewed as https://reviews.llvm.org/D50421 Modified: libcxx/trunk/test/std/utilities/template.bitset

[libcxx] r339213 - [libcxx] [test] Remove nonportable locale assumption in basic.ios.members/narrow.pass.cpp

2018-08-07 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Aug 7 17:47:29 2018 New Revision: 339213 URL: http://llvm.org/viewvc/llvm-project?rev=339213&view=rev Log: [libcxx] [test] Remove nonportable locale assumption in basic.ios.members/narrow.pass.cpp I'm not sure if libcxx is asserting UTF-8 here; but on Windows the full cha

[libcxx] r339214 - [libcxx] [test] Allow a standard library that implements LWG 1203 in istream.rvalue/rvalue.pass.cpp

2018-08-07 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Aug 7 17:49:02 2018 New Revision: 339214 URL: http://llvm.org/viewvc/llvm-project?rev=339214&view=rev Log: [libcxx] [test] Allow a standard library that implements LWG 1203 in istream.rvalue/rvalue.pass.cpp (Still pending review at https://reviews.llvm.org/D47400 which ha

[libcxx] r339218 - [libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp.

2018-08-07 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Aug 7 21:24:47 2018 New Revision: 339218 URL: http://llvm.org/viewvc/llvm-project?rev=339218&view=rev Log: [libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp. Modified: libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp Modified: li

[libcxx] r332567 - Add void casts to suppress nodiscard on linear_congruential_engine.

2018-05-16 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Wed May 16 19:58:26 2018 New Revision: 332567 URL: http://llvm.org/viewvc/llvm-project?rev=332567&view=rev Log: Add void casts to suppress nodiscard on linear_congruential_engine. Modified: libcxx/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp libc

[libcxx] r332571 - [libcxx] [test] Remove unused local typedef in test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp

2018-05-16 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Wed May 16 21:59:34 2018 New Revision: 332571 URL: http://llvm.org/viewvc/llvm-project?rev=332571&view=rev Log: [libcxx] [test] Remove unused local typedef in test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp Modified: libcxx/trunk/test/std/numerics/rand/rand

[libcxx] r303899 - Add asserts that the nullptr is maintained in string erase operations.

2017-05-25 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu May 25 14:01:14 2017 New Revision: 303899 URL: http://llvm.org/viewvc/llvm-project?rev=303899&view=rev Log: Add asserts that the nullptr is maintained in string erase operations. Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_erase/iter.pa

[libcxx] r321848 - Add move-only types test for transform_reduce bop/uop.

2018-01-04 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Jan 4 17:31:50 2018 New Revision: 321848 URL: http://llvm.org/viewvc/llvm-project?rev=321848&view=rev Log: Add move-only types test for transform_reduce bop/uop. Modified: libcxx/trunk/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_init_bop_

[libcxx] r321847 - Fix nonstandard bits in transform_reduce_iter_iter_init_bop_uop.

2018-01-04 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Jan 4 17:31:47 2018 New Revision: 321847 URL: http://llvm.org/viewvc/llvm-project?rev=321847&view=rev Log: Fix nonstandard bits in transform_reduce_iter_iter_init_bop_uop. * _VSTD should be std. * is needed for forward. * unary_function is no longer standard (and unnecess

[libcxx] r321852 - Move + and * operators of MoveOnly into MoveOnly.h.

2018-01-04 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Jan 4 17:32:00 2018 New Revision: 321852 URL: http://llvm.org/viewvc/llvm-project?rev=321852&view=rev Log: Move + and * operators of MoveOnly into MoveOnly.h. Modified: libcxx/trunk/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pa

[libcxx] r321849 - Add move-only types test to transform_reduce iter iter iter init op op.

2018-01-04 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Jan 4 17:31:52 2018 New Revision: 321849 URL: http://llvm.org/viewvc/llvm-project?rev=321849&view=rev Log: Add move-only types test to transform_reduce iter iter iter init op op. Modified: libcxx/trunk/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_it

[libcxx] r321850 - Automated trailing whitespace removal by VS Code.

2018-01-04 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Jan 4 17:31:55 2018 New Revision: 321850 URL: http://llvm.org/viewvc/llvm-project?rev=321850&view=rev Log: Automated trailing whitespace removal by VS Code. Modified: libcxx/trunk/include/numeric Modified: libcxx/trunk/include/numeric URL: http://llvm.org/viewvc/llvm

[libcxx] r321851 - Fix incorrect handling of move-only types in transform_reduce iter iter iter init, and add test.

2018-01-04 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Jan 4 17:31:57 2018 New Revision: 321851 URL: http://llvm.org/viewvc/llvm-project?rev=321851&view=rev Log: Fix incorrect handling of move-only types in transform_reduce iter iter iter init, and add test. Modified: libcxx/trunk/include/numeric libcxx/trunk/test/st

[libcxx] r321922 - [libcxx] [test] Remove nonstandard things and resolve warnings in Xxx_scan tests

2018-01-05 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Fri Jan 5 18:18:20 2018 New Revision: 321922 URL: http://llvm.org/viewvc/llvm-project?rev=321922&view=rev Log: [libcxx] [test] Remove nonstandard things and resolve warnings in Xxx_scan tests Reviewed as https://reviews.llvm.org/D41748 * These tests use function objects from

[libcxx] r321923 - Add casts to prevent narrowing warnings.

2018-01-05 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Fri Jan 5 18:50:03 2018 New Revision: 321923 URL: http://llvm.org/viewvc/llvm-project?rev=321923&view=rev Log: Add casts to prevent narrowing warnings. Modified: libcxx/trunk/test/std/numerics/numeric.ops/transform.exclusive.scan/transform_exclusive_scan_init_bop_uop.pass

[libcxx] r322021 - Change add_ten to add_one to avoid triggering ubsan integer overflow.

2018-01-08 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Mon Jan 8 11:45:16 2018 New Revision: 322021 URL: http://llvm.org/viewvc/llvm-project?rev=322021&view=rev Log: Change add_ten to add_one to avoid triggering ubsan integer overflow. Modified: libcxx/trunk/test/std/numerics/numeric.ops/transform.exclusive.scan/transform_exc

[libcxx] r330791 - [libcxx] [test] Remove nonportable that errc::is_a_directory produces "Is a directory" from ios_base::failure tests

2018-04-24 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Apr 24 18:58:55 2018 New Revision: 330791 URL: http://llvm.org/viewvc/llvm-project?rev=330791&view=rev Log: [libcxx] [test] Remove nonportable that errc::is_a_directory produces "Is a directory" from ios_base::failure tests These io_error asserts that std::errc::is_a_direc

[libcxx] r330999 - [libcxx] [test] Remove non-portable assertions from filebuf tests

2018-04-26 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Apr 26 15:18:33 2018 New Revision: 330999 URL: http://llvm.org/viewvc/llvm-project?rev=330999&view=rev Log: [libcxx] [test] Remove non-portable assertions from filebuf tests seekoff.pass.cpp: libc++'s tests are asserting things about the buffer passed to pubsetbuf. [filebu

[PATCH] D25492: [libcxx] [test] Fix shadowing in string.assign and string.append

2016-10-11 Thread Billy Robert O';Neal III via cfe-commits
BillyONeal created this revision. BillyONeal added reviewers: EricWF, mclow.lists. BillyONeal added a subscriber: cfe-commits. https://reviews.llvm.org/D25492 Files: test/std/strings/basic.string/string.modifiers/string_append/T_size_size.pass.cpp test/std/strings/basic.string/string.modifi

[PATCH] D25531: [libcxx] [test] Include in string_view::copy test

2016-10-12 Thread Billy Robert O';Neal III via cfe-commits
BillyONeal created this revision. BillyONeal added reviewers: EricWF, mclow.lists. BillyONeal added a subscriber: cfe-commits. The string_view::copy test calls std::min, which is not required to be made available by including . (The MSVC++ STL does not use std::min internally because we need to a

[PATCH] D25531: [libcxx] [test] Include in string_view::copy test

2016-10-12 Thread Billy Robert O';Neal III via cfe-commits
BillyONeal added a comment. No, I don't believe any of us in MSVC++ land have commit access. https://reviews.llvm.org/D25531 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r329665 - [libcxx] [test] Use the correct type from strlen. Include correct header.

2018-04-09 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Mon Apr 9 20:04:07 2018 New Revision: 329665 URL: http://llvm.org/viewvc/llvm-project?rev=329665&view=rev Log: [libcxx] [test] Use the correct type from strlen. Include correct header. Modified: libcxx/trunk/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstre

[libcxx] r318276 - Tolerate [[nodiscard]] annotations in the STL. Reviewed as https://reviews.llvm.org/D39033

2017-11-14 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Nov 14 23:40:37 2017 New Revision: 318276 URL: http://llvm.org/viewvc/llvm-project?rev=318276&view=rev Log: Tolerate [[nodiscard]] annotations in the STL. Reviewed as https://reviews.llvm.org/D39033 Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/cou

[libcxx] r318277 - Tolerate even more [[nodiscard]] in the STL. Reviewed as https://reviews.llvm.org/D39080

2017-11-14 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Nov 14 23:45:07 2017 New Revision: 318277 URL: http://llvm.org/viewvc/llvm-project?rev=318277&view=rev Log: Tolerate even more [[nodiscard]] in the STL. Reviewed as https://reviews.llvm.org/D39080 Modified: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.search/

[libcxx] r318804 - Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065

2017-11-21 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Nov 21 13:37:26 2017 New Revision: 318804 URL: http://llvm.org/viewvc/llvm-project?rev=318804&view=rev Log: Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065 Modified: libcxx/trunk/test/std/algorithms/alg.n

[libcxx] r318808 - Add missing test_macros.h inclusion.

2017-11-21 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Nov 21 14:16:57 2017 New Revision: 318808 URL: http://llvm.org/viewvc/llvm-project?rev=318808&view=rev Log: Add missing test_macros.h inclusion. Modified: libcxx/trunk/test/std/re/re.grammar/excessive_brace_count.pass.cpp Modified: libcxx/trunk/test/std/re/re.grammar/e

[libcxx] r318812 - Replace assert(true) in tests with actual asserts. Reviewed as https://reviews.llvm.org/D40324

2017-11-21 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Nov 21 15:03:02 2017 New Revision: 318812 URL: http://llvm.org/viewvc/llvm-project?rev=318812&view=rev Log: Replace assert(true) in tests with actual asserts. Reviewed as https://reviews.llvm.org/D40324 In a17cd7c641c34b6c4bd4845a4d4fb590cb6c238c Marshall added assert(true

[libcxx] r318830 - Add another test_macros.h include I missed to tuple.by.type.pass.cpp

2017-11-22 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Wed Nov 22 04:29:17 2017 New Revision: 318830 URL: http://llvm.org/viewvc/llvm-project?rev=318830&view=rev Log: Add another test_macros.h include I missed to tuple.by.type.pass.cpp Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.fail.cp

[libcxx] r297772 - Fixed unintentional assignment-in-assert in new "extending memory management tools" algorithms.

2017-03-14 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Tue Mar 14 14:36:30 2017 New Revision: 297772 URL: http://llvm.org/viewvc/llvm-project?rev=297772&view=rev Log: Fixed unintentional assignment-in-assert in new "extending memory management tools" algorithms. Modified: libcxx/trunk/test/std/utilities/memory/specialized.alg

[libcxx] r299734 - Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions.

2017-04-06 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Apr 6 18:50:21 2017 New Revision: 299734 URL: http://llvm.org/viewvc/llvm-project?rev=299734&view=rev Log: Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions. These tests were unconditionally asserting that optional and u

[libcxx] r299735 - Add noexcept(false) to more strongly indicate that not being noexcept is important for hash tests.

2017-04-06 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Apr 6 18:50:33 2017 New Revision: 299735 URL: http://llvm.org/viewvc/llvm-project?rev=299735&view=rev Log: Add noexcept(false) to more strongly indicate that not being noexcept is important for hash tests. Modified: libcxx/trunk/test/std/utilities/memory/util.smartpt

[libcxx] r300516 - Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions.

2017-04-17 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Mon Apr 17 19:19:50 2017 New Revision: 300516 URL: http://llvm.org/viewvc/llvm-project?rev=300516&view=rev Log: Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions. These tests were unconditionally asserting that optional and u

[libcxx] r300937 - Resolve unused local typedef warning in test.

2017-04-20 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Thu Apr 20 20:10:04 2017 New Revision: 300937 URL: http://llvm.org/viewvc/llvm-project?rev=300937&view=rev Log: Resolve unused local typedef warning in test. Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp Modified: libcxx/trunk/test/

[libcxx] r302472 - Resolve integer overflow warnings in GCD and LCM tests

2017-05-08 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Mon May 8 16:52:05 2017 New Revision: 302472 URL: http://llvm.org/viewvc/llvm-project?rev=302472&view=rev Log: Resolve integer overflow warnings in GCD and LCM tests lcm.pass.cpp: 19: Update headers to that actually used in the test. 41: test0 was triggering narrowing warnings

[libcxx] r302473 - Fix possible loss of data warnings on amd64

2017-05-08 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Mon May 8 16:54:53 2017 New Revision: 302473 URL: http://llvm.org/viewvc/llvm-project?rev=302473&view=rev Log: Fix possible loss of data warnings on amd64 In T_size_size.pass, there is an explicit template argument to std::min to ask for unsigned, to avoid type deduction error

[libcxx] r302710 - Update is_trivially_copyable tests with CWG 2094

2017-05-10 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Wed May 10 14:43:31 2017 New Revision: 302710 URL: http://llvm.org/viewvc/llvm-project?rev=302710&view=rev Log: Update is_trivially_copyable tests with CWG 2094 Clang 5.0 implements these changes here: https://github.com/llvm-mirror/clang/commit/87cd035326a39523eeb1b295ad36cff

[libcxx] r302728 - Fix bad #endif in msvc_stdlib_force_include.hpp.

2017-05-10 Thread Billy Robert O';Neal III via cfe-commits
Author: bion Date: Wed May 10 15:58:30 2017 New Revision: 302728 URL: http://llvm.org/viewvc/llvm-project?rev=302728&view=rev Log: Fix bad #endif in msvc_stdlib_force_include.hpp. Modified: libcxx/trunk/test/support/msvc_stdlib_force_include.hpp Modified: libcxx/trunk/test/support/msvc_stdli