[PATCH] D26815: [libcxx] [test] Fix an assumption about the state of moved-from std::functions.

2016-11-17 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix an assumption about the state of moved-from std::functions. The Standard doesn't provide any guarantees beyond "valid but unspecified" for moved-from std::f

[PATCH] D26816: [libcxx] [test] Fix non-Standard assumptions when testing sample().

2016-11-17 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix non-Standard assumptions when testing sample(). sample() isn't specified with a reproducible algorithm, so expecting exact output is non-Standard. Mark thos

[PATCH] D26816: [libcxx] [test] Fix non-Standard assumptions when testing sample().

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT marked an inline comment as done. STL_MSFT added a comment. Added the requested comment, will commit. Comment at: test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.pass.cpp:74 assert(end.base() - oa == std::min(os, is)); - assert(std::equal(oa,

[libcxx] r287383 - [libcxx] [test] D26816: Fix non-Standard assumptions when testing sample().

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri Nov 18 15:54:43 2016 New Revision: 287383 URL: http://llvm.org/viewvc/llvm-project?rev=287383&view=rev Log: [libcxx] [test] D26816: Fix non-Standard assumptions when testing sample(). sample() isn't specified with a reproducible algorithm, so expecting exact output is n

[libcxx] r287381 - [libcxx] [test] D26813: allocator is non-Standard.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri Nov 18 15:54:31 2016 New Revision: 287381 URL: http://llvm.org/viewvc/llvm-project?rev=287381&view=rev Log: [libcxx] [test] D26813: allocator is non-Standard. N4582 17.6.3.5 [allocator.requirements] says that allocators are given cv-unqualified object types, and N4582 2

[libcxx] r287382 - [libcxx] [test] D26815: Fix an assumption about the state of moved-from std::functions.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri Nov 18 15:54:38 2016 New Revision: 287382 URL: http://llvm.org/viewvc/llvm-project?rev=287382&view=rev Log: [libcxx] [test] D26815: Fix an assumption about the state of moved-from std::functions. The Standard doesn't provide any guarantees beyond "valid but unspecified

[PATCH] D26813: [libcxx] [test] allocator is non-Standard.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287381. https://reviews.llvm.org/D26813 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26815: [libcxx] [test] Fix an assumption about the state of moved-from std::functions.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287382. https://reviews.llvm.org/D26815 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26816: [libcxx] [test] Fix non-Standard assumptions when testing sample().

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT marked an inline comment as done. STL_MSFT added a comment. Thanks, r287383 (including the requested comment). https://reviews.llvm.org/D26816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lis

[PATCH] D26814: [libcxx] [test] Change ifstream constructor tests to handle read-only files.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT added a comment. My changes to the ofstream.cons tests preserve the test coverage (as they already contain the machinery to create writable files). Would you like it if I removed the "if (fs) { stuff }" blocks from the ifstream.cons tests entirely, and changed the comments to say thing

[libcxx] r287391 - [libcxx] [test] D26812: In random tests, use real static_asserts and silence a warning.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri Nov 18 16:45:32 2016 New Revision: 287391 URL: http://llvm.org/viewvc/llvm-project?rev=287391&view=rev Log: [libcxx] [test] D26812: In random tests, use real static_asserts and silence a warning. In C++11 mode and newer, use real static_asserts. In C++03 mode, min() an

[PATCH] D26812: [libcxx] [test] In random tests, use real static_asserts and silence a warning.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT accepted this revision. STL_MSFT added a reviewer: STL_MSFT. STL_MSFT added a comment. This revision is now accepted and ready to land. Made the requested changes, committed as r287391 with Eric's approval. Comment at: test/std/numerics/rand/rand.eng/rand.eng.lcong/val

[PATCH] D26814: [libcxx] [test] Change ifstream constructor tests to handle read-only files.

2016-11-18 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT updated the summary for this revision. STL_MSFT updated this revision to Diff 78589. STL_MSFT added a comment. Instead of skipping failures to open, just have comments pointing to the ofstream.cons tests where this coverage has moved. https://reviews.llvm.org/D26814 Files: test/std/

[PATCH] D26903: [libcxx] Add tests (but not implementation)

2016-11-21 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT added a comment. Found some minor issues. Comment at: test/std/utilities/variant/variant.get/get_if_index.pass.cpp:92 +V v(42l); +ASSERT_SAME_TYPE(decltype(std::get_if<1>(std::addressof(v))), long*); +assert(*std::get_if<1>(std::addressof(v)) ==

[PATCH] D26903: [libcxx] Add tests (but not implementation)

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT added inline comments. Comment at: test/std/utilities/variant/variant.helpers/variant_alternative.pass.cpp:33 +void test() { +static_assert(std::is_same_v< +typename std::variant_alternative::type, E>, ""); EricWF wrote: > STL_MSFT wrote: >

[PATCH] D27014: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 2/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 2/12. Add static_cast when comparing int to std::size_t. Also, include when it wasn't already being in

[PATCH] D27015: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 3/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 3/12. Change unsigned to int in parameters. https://reviews.llvm.org/D27015 Files: test/std/algori

[PATCH] D27016: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 4/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 4/12. Change "int j;" indices to "std::size_t j;". Also, include when it wasn't already being included

[PATCH] D27018: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 5/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 5/12. Various changes: test/std/algorithms/alg.sorting/alg.binary.search/binary.search/binary_search.pa

[PATCH] D27019: [libcxx] [test] Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 6/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 6/12. Add static_cast when initializing unsigned integers with negative num

[PATCH] D27020: [libcxx] [test] Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 7/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 7/12. When initializing unsigned integers to their maximum values, change "

[PATCH] D27022: [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 9/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 9/12. Add static_cast to more comparisons. (Performed manually, unlike part 8/12.) Also, include when

[PATCH] D27023: [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 10/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 10/12. Add static_cast. In these cases, the values are guaranteed to be small-ish, and they're being com

[PATCH] D27024: [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 11/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 11/12. Change "unsigned n = 0;" to "int n = 0;". It's being compared to int elements and ptrdiff_t dist

[PATCH] D27025: [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 12/12.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. Herald added a subscriber: mehdi_amini. [libcxx] [test] Fix MSVC warning C4389 "signed/unsigned mismatch", part 12/12. Various changes: test/std/algorithms/alg.sorting/alg.mer

[PATCH] D27026: [libcxx] [test] Fix copy-paste silliness; ULL can't ever be 32-bit.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Fix copy-paste silliness; ULL can't ever be 32-bit. https://reviews.llvm.org/D27026 Files: test/std/localization/locale.categories/category.numeric/locale.

[PATCH] D27027: [libcxx] [test] Strip trailing whitespace.

2016-11-22 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Strip trailing whitespace. https://reviews.llvm.org/D27027 Files: test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp test/std/algorithms/alg.so

[libcxx] r287822 - [libcxx] [test] D27014: Fix MSVC warning C4018 "signed/unsigned mismatch", part 2/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:01:58 2016 New Revision: 287822 URL: http://llvm.org/viewvc/llvm-project?rev=287822&view=rev Log: [libcxx] [test] D27014: Fix MSVC warning C4018 "signed/unsigned mismatch", part 2/12. Add static_cast when comparing int to std::size_t. Also, include when it

[libcxx] r287824 - [libcxx] [test] D27016: Fix MSVC warning C4018 "signed/unsigned mismatch", part 4/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:02:27 2016 New Revision: 287824 URL: http://llvm.org/viewvc/llvm-project?rev=287824&view=rev Log: [libcxx] [test] D27016: Fix MSVC warning C4018 "signed/unsigned mismatch", part 4/12. Change "int j;" indices to "std::size_t j;". Also, include when it wasn't

[libcxx] r287825 - [libcxx] [test] D27018: Fix MSVC warning C4018 "signed/unsigned mismatch", part 5/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:02:35 2016 New Revision: 287825 URL: http://llvm.org/viewvc/llvm-project?rev=287825&view=rev Log: [libcxx] [test] D27018: Fix MSVC warning C4018 "signed/unsigned mismatch", part 5/12. Various changes: test/std/algorithms/alg.sorting/alg.binary.search/binary.

[libcxx] r287823 - [libcxx] [test] D27015: Fix MSVC warning C4018 "signed/unsigned mismatch", part 3/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:02:16 2016 New Revision: 287823 URL: http://llvm.org/viewvc/llvm-project?rev=287823&view=rev Log: [libcxx] [test] D27015: Fix MSVC warning C4018 "signed/unsigned mismatch", part 3/12. Change unsigned to int in parameters. Modified: libcxx/trunk/test/std

[libcxx] r287826 - [libcxx] [test] D27019: Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 6/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:02:44 2016 New Revision: 287826 URL: http://llvm.org/viewvc/llvm-project?rev=287826&view=rev Log: [libcxx] [test] D27019: Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 6/12. Add static_cast when initializing unsigned inte

[libcxx] r287827 - [libcxx] [test] D27020: Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 7/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:02:53 2016 New Revision: 287827 URL: http://llvm.org/viewvc/llvm-project?rev=287827&view=rev Log: [libcxx] [test] D27020: Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 7/12. When initializing unsigned integers to their ma

[libcxx] r287829 - [libcxx] [test] D27027: Strip trailing whitespace.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:03:28 2016 New Revision: 287829 URL: http://llvm.org/viewvc/llvm-project?rev=287829&view=rev Log: [libcxx] [test] D27027: Strip trailing whitespace. Modified: libcxx/trunk/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp libcxx/trunk/test/

[libcxx] r287828 - [libcxx] [test] D27026: Fix copy-paste silliness; ULL can't ever be 32-bit.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed Nov 23 16:02:59 2016 New Revision: 287828 URL: http://llvm.org/viewvc/llvm-project?rev=287828&view=rev Log: [libcxx] [test] D27026: Fix copy-paste silliness; ULL can't ever be 32-bit. Modified: libcxx/trunk/test/std/localization/locale.categories/category.numeric/l

[PATCH] D27013: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 1/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287820. https://reviews.llvm.org/D27013 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27014: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 2/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287822. https://reviews.llvm.org/D27014 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27015: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 3/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287823. https://reviews.llvm.org/D27015 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27016: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 4/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287824. https://reviews.llvm.org/D27016 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27019: [libcxx] [test] Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 6/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287826. https://reviews.llvm.org/D27019 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27018: [libcxx] [test] Fix MSVC warning C4018 "signed/unsigned mismatch", part 5/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287825. https://reviews.llvm.org/D27018 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27026: [libcxx] [test] Fix copy-paste silliness; ULL can't ever be 32-bit.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287828. https://reviews.llvm.org/D27026 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27020: [libcxx] [test] Fix MSVC warning C4245 "conversion from 'X' to 'Y', signed/unsigned mismatch", part 7/12.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287827. https://reviews.llvm.org/D27020 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D27027: [libcxx] [test] Strip trailing whitespace.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Thanks, r287829. https://reviews.llvm.org/D27027 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26814: [libcxx] [test] Change ifstream constructor tests to handle read-only files.

2016-11-23 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT added a comment. As yet another alternative, I could keep the ios_base::openmode tests in ifstream.cons, but use ios_base::binary instead of ios_base::out. https://reviews.llvm.org/D26814 ___ cfe-commits mailing list cfe-commits@lists.llvm

[libcxx] r288747 - [libcxx] [test] D27023: Fix MSVC warning C4389 "signed/unsigned mismatch", part 10/12.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:13:29 2016 New Revision: 288747 URL: http://llvm.org/viewvc/llvm-project?rev=288747&view=rev Log: [libcxx] [test] D27023: Fix MSVC warning C4389 "signed/unsigned mismatch", part 10/12. Add static_cast. In these cases, the values are guaranteed to be small-ish

[libcxx] r288746 - [libcxx] [test] D27022: Fix MSVC warning C4389 "signed/unsigned mismatch", part 9/12.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:13:14 2016 New Revision: 288746 URL: http://llvm.org/viewvc/llvm-project?rev=288746&view=rev Log: [libcxx] [test] D27022: Fix MSVC warning C4389 "signed/unsigned mismatch", part 9/12. Add static_cast to more comparisons. (Performed manually, unlike part 8/12

[libcxx] r288748 - [libcxx] [test] D27024: Fix MSVC warning C4389 "signed/unsigned mismatch", part 11/12.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:13:40 2016 New Revision: 288748 URL: http://llvm.org/viewvc/llvm-project?rev=288748&view=rev Log: [libcxx] [test] D27024: Fix MSVC warning C4389 "signed/unsigned mismatch", part 11/12. Change "unsigned n = 0;" to "int n = 0;". It's being compared to int eleme

[libcxx] r288749 - [libcxx] [test] D27025: Fix MSVC warning C4389 "signed/unsigned mismatch", part 12/12.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:13:51 2016 New Revision: 288749 URL: http://llvm.org/viewvc/llvm-project?rev=288749&view=rev Log: [libcxx] [test] D27025: Fix MSVC warning C4389 "signed/unsigned mismatch", part 12/12. Various changes: test/std/algorithms/alg.sorting/alg.merge/inplace_merge.

[libcxx] r288750 - [libcxx] [test] D27266: Remove spurious semicolons.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:14:06 2016 New Revision: 288750 URL: http://llvm.org/viewvc/llvm-project?rev=288750&view=rev Log: [libcxx] [test] D27266: Remove spurious semicolons. Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range_size_hash_equa

[libcxx] r288751 - [libcxx] [test] D27267: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 1/4.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:14:29 2016 New Revision: 288751 URL: http://llvm.org/viewvc/llvm-project?rev=288751&view=rev Log: [libcxx] [test] D27267: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 1/4. Replace "int n = str

[libcxx] r288752 - [libcxx] [test] D27268: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 2/4.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:14:43 2016 New Revision: 288752 URL: http://llvm.org/viewvc/llvm-project?rev=288752&view=rev Log: [libcxx] [test] D27268: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 2/4. Use static_cast when

[libcxx] r288753 - [libcxx] [test] D27269: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 3/4.

2016-12-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 5 19:14:51 2016 New Revision: 288753 URL: http://llvm.org/viewvc/llvm-project?rev=288753&view=rev Log: [libcxx] [test] D27269: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 3/4. test/std/containers/

[libcxx] r289105 - [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 1/7.

2016-12-08 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Dec 8 15:37:47 2016 New Revision: 289105 URL: http://llvm.org/viewvc/llvm-project?rev=289105&view=rev Log: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 1/7. Given `std::basic_streambuf::int_type __c`, `std::basic_str

[libcxx] r289106 - [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 2/7.

2016-12-08 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Dec 8 15:38:01 2016 New Revision: 289106 URL: http://llvm.org/viewvc/llvm-project?rev=289106&view=rev Log: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 2/7. These tests for some guy's transparent operator functors we

[libcxx] r289110 - [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 6/7.

2016-12-08 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Dec 8 15:38:44 2016 New Revision: 289110 URL: http://llvm.org/viewvc/llvm-project?rev=289110&view=rev Log: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 6/7. test/std/algorithms/alg.modifying.operations/alg.random.shu

[libcxx] r289107 - [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 3/7.

2016-12-08 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Dec 8 15:38:14 2016 New Revision: 289107 URL: http://llvm.org/viewvc/llvm-project?rev=289107&view=rev Log: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 3/7. Add static_cast when constructing pair from (Something, in

[libcxx] r289108 - [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 4/7.

2016-12-08 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Dec 8 15:38:23 2016 New Revision: 289108 URL: http://llvm.org/viewvc/llvm-project?rev=289108&view=rev Log: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 4/7. Change char to long and remove some char casts. This preser

[libcxx] r289111 - [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 7/7.

2016-12-08 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Dec 8 15:38:57 2016 New Revision: 289111 URL: http://llvm.org/viewvc/llvm-project?rev=289111&view=rev Log: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 7/7. test/std/input.output/iostream.format/input.streams/istream

[libcxx] r289109 - [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 5/7.

2016-12-08 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Dec 8 15:38:32 2016 New Revision: 289109 URL: http://llvm.org/viewvc/llvm-project?rev=289109&view=rev Log: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 5/7. Instead of storing double in double and then truncating to

[libcxx] r289264 - [libcxx] [test] Add LIBCPP_ASSERT_NOEXCEPT/LIBCPP_ASSERT_NOT_NOEXCEPT, remove an unused variable.

2016-12-09 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri Dec 9 13:53:08 2016 New Revision: 289264 URL: http://llvm.org/viewvc/llvm-project?rev=289264&view=rev Log: [libcxx] [test] Add LIBCPP_ASSERT_NOEXCEPT/LIBCPP_ASSERT_NOT_NOEXCEPT, remove an unused variable. test/support/test_macros.h For convenience/greppability, add ma

[libcxx] r289283 - [libcxx] [test] Fix string_view tests.

2016-12-09 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri Dec 9 16:35:53 2016 New Revision: 289283 URL: http://llvm.org/viewvc/llvm-project?rev=289283&view=rev Log: [libcxx] [test] Fix string_view tests. test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp Passing -1 to size_t triggers signed/unsigned mi

[libcxx] r289463 - [libcxx] [test] Change ifstream constructor tests to handle read-only files.

2016-12-12 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 12 13:50:22 2016 New Revision: 289463 URL: http://llvm.org/viewvc/llvm-project?rev=289463&view=rev Log: [libcxx] [test] Change ifstream constructor tests to handle read-only files. Certain source control systems like to set the read-only bit on their files, which in

[libcxx] r289462 - [libcxx] [test] Fix an improper assumption about Null Forward Iterators.

2016-12-12 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 12 13:50:14 2016 New Revision: 289462 URL: http://llvm.org/viewvc/llvm-project?rev=289462&view=rev Log: [libcxx] [test] Fix an improper assumption about Null Forward Iterators. Value-initialized iterators still can't be compared to those with parents. Fixes D26626.

[libcxx] r289512 - [libcxx] [test] Fix size_t-to-int truncation warnings in syserr.hash.

2016-12-12 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Dec 12 19:54:58 2016 New Revision: 289512 URL: http://llvm.org/viewvc/llvm-project?rev=289512&view=rev Log: [libcxx] [test] Fix size_t-to-int truncation warnings in syserr.hash. After r289363, these tests were triggering MSVC x64 warning C4267 "conversion from 'size_t'

[libcxx] r302104 - [libcxx] [test] In msvc_stdlib_force_include.hpp, use _HAS_CXX17 to set TEST_STD_VER.

2017-05-03 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed May 3 20:35:11 2017 New Revision: 302104 URL: http://llvm.org/viewvc/llvm-project?rev=302104&view=rev Log: [libcxx] [test] In msvc_stdlib_force_include.hpp, use _HAS_CXX17 to set TEST_STD_VER. _HAS_CXX17 indicates whether MSVC's STL is in C++17 mode. In MSVC there's

[libcxx] r302105 - [libcxx] [test] Strip trailing whitespace. NFC.

2017-05-03 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Wed May 3 20:43:58 2017 New Revision: 302105 URL: http://llvm.org/viewvc/llvm-project?rev=302105&view=rev Log: [libcxx] [test] Strip trailing whitespace. NFC. Modified: libcxx/trunk/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1

[libcxx] r302318 - [libcxx] [test] Be compatible with LWG 2438 "std::iterator inheritance shouldn't be mandated".

2017-05-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri May 5 18:01:38 2017 New Revision: 302318 URL: http://llvm.org/viewvc/llvm-project?rev=302318&view=rev Log: [libcxx] [test] Be compatible with LWG 2438 "std::iterator inheritance shouldn't be mandated". In C++17, these iterators are allowed but not required to inherit

[libcxx] r302322 - [libcxx] [test] Fix MSVC "warning C6326: Potential comparison of a constant with another constant".

2017-05-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri May 5 18:38:24 2017 New Revision: 302322 URL: http://llvm.org/viewvc/llvm-project?rev=302322&view=rev Log: [libcxx] [test] Fix MSVC "warning C6326: Potential comparison of a constant with another constant". The expressions `1 == 1` and `true` have the same type, value

[libcxx] r302325 - [libcxx] [test] Suppress MSVC's /analyze warning C6294 in a more fine-grained manner.

2017-05-05 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Fri May 5 18:51:39 2017 New Revision: 302325 URL: http://llvm.org/viewvc/llvm-project?rev=302325&view=rev Log: [libcxx] [test] Suppress MSVC's /analyze warning C6294 in a more fine-grained manner. Fixes D32926. Modified: libcxx/trunk/test/std/utilities/template.bits

[PATCH] D25851: [libcxx] [test] Fix unreferenced formal parameter warnings.

2016-10-20 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. Fix unreferenced formal parameter warnings. Found by MSVC as usual. https://reviews.llvm.org/D25851 Files: test/std/utilities/optional/optional.object/optional.object.ctor

[PATCH] D25852: [libcxx] [test] Fix shadow warnings.

2016-10-20 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. Fix shadow warnings. This variable was scoped incorrectly, found by MSVC. https://reviews.llvm.org/D25852 Files: test/std/utilities/optional/optional.object/optional.objec

[PATCH] D25853: [libcxx] [test] Fix non-Standard make_from_tuple() tests.

2016-10-20 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. The Standard doesn't depict make_from_tuple() as conditionally noexcept. Mark these tests as libcxx-specific. https://reviews.llvm.org/D25853 Files: test/std/utilities/tup

[libcxx] r285346 - [PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated

2016-10-27 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Thu Oct 27 16:25:12 2016 New Revision: 285346 URL: http://llvm.org/viewvc/llvm-project?rev=285346&view=rev Log: [PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated Modified: libcxx/trunk/test/std/containers/sequences/deque

[PATCH] D25483: [libcxx] [test] Fix non-Standard assumptions about how many elements are allocated

2016-10-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Committed r285346. Thanks!! https://reviews.llvm.org/D25483 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26294: [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.

2016-11-04 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Committed as r286007. https://reviews.llvm.org/D26294 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26314: [libcxx] [test] Fix MSVC warning C4189 "local variable is initialized but not referenced".

2016-11-04 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. test/std/depr/depr.c.headers/inttypes_h.pass.cpp test/std/input.output/file.streams/c.files/cinttypes.pass.cpp test/std/input.output/iostream.forward/iosfwd.pass.cpp Add test()

[libcxx] r286847 - [libcxx] [test] D26314: Fix MSVC warning C4189 "local variable is initialized but not referenced".

2016-11-14 Thread Stephan T. Lavavej via cfe-commits
Author: stl_msft Date: Mon Nov 14 11:35:14 2016 New Revision: 286847 URL: http://llvm.org/viewvc/llvm-project?rev=286847&view=rev Log: [libcxx] [test] D26314: Fix MSVC warning C4189 "local variable is initialized but not referenced". test/std/depr/depr.c.headers/inttypes_h.pass.cpp test/std/inpu

[PATCH] D26314: [libcxx] [test] Fix MSVC warning C4189 "local variable is initialized but not referenced".

2016-11-14 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT closed this revision. STL_MSFT added a comment. Checked in as r286847. https://reviews.llvm.org/D26314 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D22818: [libcxx] [test] Silence another occurrence of MSVC's spurious unused warning.

2016-07-26 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. Silence another occurrence of MSVC's spurious unused warning. Again, I'm sorry about this one (VSO#188582 tracks the need to fix the compiler), but this targeted suppression h

[PATCH] D22819: [libcxx] [test] Add env.lst and keep.lst to .gitignore for the MSVC libraries test harness.

2016-07-26 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. This is optional, but I think it would be convenient if we could upstream the ignoring of env.lst and keep.lst files that our test harness automatically generates. https://re

RE: [PATCH] D22818: [libcxx] [test] Silence another occurrence of MSVC's spurious unused warning.

2016-07-26 Thread Stephan T. Lavavej via cfe-commits
I've added a note to myself (in the list of "bugs I need fixes for") that these two suppressions should be removed when the compiler bug is finally fixed. JonCaves actually marked this as Fix Available on July 20, so a fix may be forthcoming in the near future. STL -Original Message- F

[PATCH] D22971: [libcxx] [test] Fix an MSVC x64 compiler warning.

2016-07-29 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. Fix an MSVC x64 compiler warning, "warning C4312: 'type cast': conversion from 'unsigned int' to 'int *' of greater size". The warning (which is valuable) is simple to avoid:

[PATCH] D22972: [libcxx] [test] Fix an MSVC x64 compiler error due to mismatched iterator types.

2016-07-29 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. Fix an MSVC x64 compiler error due to mismatched iterator types. This was attempting to store a list>::iterator in a list::iterator. That isn't guaranteed by the Standard, and

[PATCH] D22973: [libcxx] [test] Add TEST_STACK_ALLOCATOR_WORKAROUND.

2016-07-29 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. Add TEST_STACK_ALLOCATOR_WORKAROUND. As I reported to Eric and Marshall: "stack_allocator is seriously nonconformant to N4582 17.6.3.5 [allocator.requirements]. First, it lac

[PATCH] D19565: [libc++] Fix an accidental assignment within assert() that should have been equality.

2016-04-26 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libc++] Fix an accidental assignment within assert() that should have been equality. Fixes MSVC "warning C4706: assignment within conditional expression". http://reviews.llv

RE: r267534 - [MSVC] PR27337: allow static_cast from private base to derived for WTL

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
[Dmitry Polukhin] > As for 'A*' to 'B*" case, indeed it is not very common and it looks like > someone just forgot to specify 'public'. If we're doing something gratuitously nonconformant in MS product code or even sample code, you should report it to us, so we can fix it upstream, instead of h

RE: r267534 - [MSVC] PR27337: allow static_cast from private base to derived for WTL

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
[Richard Smith] > You can find a description of the problem in http://llvm.org/PR27337 > Brief summary: > The WTL bug is the missing 'public' on the second base class on this line: > https://sourceforge.net/p/wtl/code/HEAD/tree/trunk/wtl/Samples/MDIDocVw/mainfrm.h#l636 > The C1xx bug is that it ac

[PATCH] D19618: [libc++] Consistently guard "#pragma clang" with "#if defined(__clang__)".

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: mclow.lists, EricWF. STL_MSFT added a subscriber: cfe-commits. [libc++] Consistently guard "#pragma clang" with "#if defined(__clang__)". Similarly, consistently guard "#pragma GCC" with "#if defined(__GNUC__)". Fixes MSVC "warning C4068:

[PATCH] D19619: [libc++] Remove the names of unreferenced parameters.

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libc++] Remove the names of unreferenced parameters. Fixes MSVC "warning C4100: unreferenced formal parameter". http://reviews.llvm.org/D19619 Files: test/std/algorithms/a

[PATCH] D19620: [libc++] Add braces, move braces, and rename variables to avoid shadowing.

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: mclow.lists, EricWF. STL_MSFT added a subscriber: cfe-commits. [libc++] Add braces, move braces, and rename variables to avoid shadowing. Fixes MSVC "warning C4456: declaration of 'meow' hides previous local declaration". http://reviews.

[PATCH] D19621: [libc++] Rename function parameters to avoid shadowing.

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: mclow.lists, EricWF. STL_MSFT added a subscriber: cfe-commits. [libc++] Rename function parameters to avoid shadowing. Fixes MSVC "warning C4459: declaration of 'meow' hides global declaration". http://reviews.llvm.org/D19621 Files: te

[PATCH] D19622: [libc++] Implement the member functions of a local struct.

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libc++] Implement the member functions of a local struct. Fixes MSVC "warning C4822: local class member function does not have a body". http://reviews.llvm.org/D19622 Files:

[PATCH] D19623: [libc++] Initialize local doubles to 0.0.

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libc++] Initialize local doubles to 0.0. (Zero is a strict subset of garbage.) Fixes MSVC "warning C4701: potentially uninitialized local variable 'meow' used". http://revi

[PATCH] D19625: [libc++] Void-cast runtime-unused variables.

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: mclow.lists, EricWF. STL_MSFT added a subscriber: cfe-commits. [libc++] Void-cast runtime-unused variables. Also, remove unused names in exception handlers and remove an unused array. Fixes MSVC "warning C4101: unreferenced local variable

Re: [PATCH] D19623: [libc++] Initialize local doubles to 0.0.

2016-04-27 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT added a comment. I'd be happy to deal with this in another way. Would you accept _MSC_VER-guarded pragmas to silence such warnings? I didn't see an easy way to rework the logic here so that the variables are obviously initialized on every codepath, which would be the ideal pragma-less

Re: [PATCH] D19623: [libcxx] [test] Initialize local doubles to NaN.

2016-04-28 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT retitled this revision from "[libc++] Initialize local doubles to 0.0." to "[libcxx] [test] Initialize local doubles to NaN.". STL_MSFT updated the summary for this revision. STL_MSFT updated this revision to Diff 55506. STL_MSFT added a comment. Now I'm using NaN instead of 0.0 for the

[PATCH] D19698: [libcxx] [test] Need to include for std::unique_ptr.

2016-04-28 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Need to include for std::unique_ptr. Fixes MSVC "error C2039: 'unique_ptr': is not a member of 'std'". http://reviews.llvm.org/D19698 Files: test/std/utili

[PATCH] D19699: [libcxx] [test] Need to include for its streaming operators.

2016-04-28 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] Need to include for its streaming operators. Fixes MSVC errors: "error C2678: binary '>>': no operator found which takes a left-hand operand of type 'std::ist

[PATCH] D19700: [libcxx] [test] nasty_mutex::operator& should return nullptr, like nasty_list above it.

2016-04-28 Thread Stephan T. Lavavej via cfe-commits
STL_MSFT created this revision. STL_MSFT added reviewers: EricWF, mclow.lists. STL_MSFT added a subscriber: cfe-commits. [libcxx] [test] nasty_mutex::operator& should return nullptr, like nasty_list above it. Fixes MSVC "error C4716: 'nasty_mutex::operator&': must return a value". http://review

<    1   2   3   >