1773efdab35500164383f996bbbe086c68409d35 |
02-Feb-2017 |
Asiri Rathnayake <asiri.rathnayake@arm.com> |
Extend XFAIL to c++98. NFC. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@293881 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.errcode/syserr.errcode.observers/bool.fail.cpp
|
bef26f787ddf69961ee16ea2f25bfed976b7f4f3 |
24-Jan-2017 |
Marshall Clow <mclow.lists@gmail.com> |
Add a test to make sure that implicit conversion from error_code to bool will fail git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292969 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.errcode/syserr.errcode.observers/bool.fail.cpp
|
952eaecfc6fa504c40d6f7220d8c017d014cda0c |
21-Jan-2017 |
Eric Fiselier <eric@efcs.ca> |
Implement P0513R0 - "Poisoning the Hash" Summary: Exactly what the title says. This patch also adds a `std::hash<nullptr_t>` specialization in C++17, but it was not added by this paper and I can't find the actual paper that adds it. See http://wg21.link/P0513R0 for more info. If there are no comments in the next couple of days I'll commit this Reviewers: mclow.lists, K-ballo, EricWF Reviewed By: EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28938 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292684 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.hash/enabled_hash.pass.cpp
|
4d6f42350e9c7295e85dd15ca3adde7b9fc127bf |
13-Dec-2016 |
Stephan T. Lavavej <stl@exchange.microsoft.com> |
[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' to 'int', possible loss of data" by taking 0, 2, and 10 as std::size_t, then constructing error_code(int, const error_category&) or error_condition(int, const error_category&) from that (N4618 19.5.3.2 [syserr.errcode.constructors]/3, 19.5.4.2 [syserr.errcondition.constructors]/3). The fix is simple: take these ints as int, pass them to the int-taking constructor, and perform a value-preserving static_cast<std::size_t> when comparing them to `std::size_t result`. Fixes D27691. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289512 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.hash/error_code.pass.cpp
yserr/syserr.hash/error_condition.pass.cpp
|
a2cd27094316a83e188727fe0478b5f0dfd0a055 |
11-Dec-2016 |
Eric Fiselier <eric@efcs.ca> |
Enable the -Wsign-compare warning to better support MSVC git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289363 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.hash/error_code.pass.cpp
yserr/syserr.hash/error_condition.pass.cpp
|
e33c0b01f892f8919f66a066a9c4064010104e49 |
23-Nov-2016 |
Stephan T. Lavavej <stl@exchange.microsoft.com> |
[libcxx] [test] D27027: Strip trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287829 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/is_error_code_enum.pass.cpp
yserr/is_error_condition_enum.pass.cpp
|
db7fa111abe868b217443bcaafc47de53bdb0e48 |
14-Nov-2016 |
Marshall Clow <mclow.lists@gmail.com> |
Fixes for LWG 2598, 2686, 2739, 2742, 2747, and 2759, which were adopted last week in Issaquah git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@286858 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.hash/error_condition.pass.cpp
|
9473712eec24412db5600aaa25e709476567d546 |
24-Sep-2016 |
Marshall Clow <mclow.lists@gmail.com> |
Fix incorrect include in is_error_code_enum.pass.cpp git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@282332 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/is_error_code_enum.pass.cpp
|
db86684746c4dfffed6e97de7f971757a00d2f69 |
24-Sep-2016 |
Marshall Clow <mclow.lists@gmail.com> |
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 heads-up that we were missing these. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@282331 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/is_error_code_enum.pass.cpp
yserr/is_error_condition_enum.pass.cpp
|
67ec8a281b8d64f90ae48051ee7a0803623d3d2e |
22-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Move more _LIBCPP_VERSION tests to test/libcxx. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273365 91177308-0d34-0410-b5e6-96231b3b80d8
ssertions/cassert.pass.cpp
rrno/cerrno.pass.cpp
td.exceptions/version.pass.cpp
yserr/version.pass.cpp
|
a9957769584e8b9d53c5fb61c669248db68c5544 |
15-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Improve portability of hash tests. Patch from STL@microsoft.com git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272744 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.hash/error_code.pass.cpp
|
5a623cf59f2ff7c2c609a45084e093cf96ddf186 |
14-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Update errcat.objects tests so they test the bug fixed in r272640. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272642 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
yserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
|
a30cee2258df9edb22ba3864f2ab9d73998a2d94 |
14-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Make system_error::message() thread safe. Fixes PR25598. Summary: system_error::message() uses `strerror` for the generic and system categories. This function is not thread safe. The fix is to use `strerror_r`. It has been available since 2001 for GNU libc and since BSD 4.4 on FreeBSD/OS X. On platforms with GNU libc the extended version is used which always returns a valid string, even if an error occurs. In single-threaded builds `strerror` is still used. See https://llvm.org/bugs/show_bug.cgi?id=25598 Reviewers: majnemer, mclow.lists Subscribers: erik65536, cfe-commits, emaste Differential Revision: http://reviews.llvm.org/D20903 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272633 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
yserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
|
a3eac518e64aa0230894e4dde26c3f9714609e64 |
28-May-2016 |
Asiri Rathnayake <asiri.rathnayake@arm.com> |
[libcxx] Improve tests to use the UNSUPPORTED lit directive Quite a few libcxx tests seem to follow the format: #if _LIBCPP_STD_VER > X // Do test. #else // Empty test. #endif We should instead use the UNSUPPORTED lit directive to exclude the test on earlier C++ standards. This gives us a more accurate number of test passes for those standards and avoids unnecessary conflicts with other lit directives on the same tests. Reviewers: bcraig, ericwf, mclow.lists Differential revision: http://reviews.llvm.org/D20730 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@271108 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.errcat/syserr.errcat.nonvirtuals/default_ctor.pass.cpp
|
bda804ea25ff0b96f66a80cbf4640a7b8dd886b8 |
28-Apr-2016 |
Eric Fiselier <eric@efcs.ca> |
Remove names of unreferenced parameters. Patch from STL@microsoft.com git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267852 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.errcat/syserr.errcat.nonvirtuals/default_ctor.pass.cpp
|
02bb4bdb495ff5cc8bd6422e61b96433e60ba5e1 |
19-Jul-2015 |
Eric Fiselier <eric@efcs.ca> |
Fix warnings in array and assoc containers git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242629 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.errcat/syserr.errcat.overview/error_category.pass.cpp
|
674e07d3c8f7c9c38a8e1b0aae5cfb8831a789a6 |
07-Jan-2015 |
Marshall Clow <mclow.lists@gmail.com> |
libc++ implements its' hash objects as deriving from std::unary_function, and the tests test for that. STL @ MS pointed out that the standard doesn't requie these objects to derive from unary_function, and so the tests should not require that either. Change the tests to check for the embedded typedefs - which ARE required. No change to the library. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@225403 91177308-0d34-0410-b5e6-96231b3b80d8
yserr/syserr.hash/error_code.pass.cpp
|
a90c6dd46005b2b14de3bb889a8d03bb34bd3256 |
20-Dec-2014 |
Eric Fiselier <eric@efcs.ca> |
Move test into test/std subdirectory. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224658 91177308-0d34-0410-b5e6-96231b3b80d8
ssertions/cassert.pass.cpp
iagnostics.general/nothing_to_do.pass.cpp
rrno/cerrno.pass.cpp
othing_to_do.pass.cpp
td.exceptions/domain.error/domain_error.pass.cpp
td.exceptions/invalid.argument/invalid_argument.pass.cpp
td.exceptions/length.error/length_error.pass.cpp
td.exceptions/logic.error/logic_error.pass.cpp
td.exceptions/out.of.range/out_of_range.pass.cpp
td.exceptions/overflow.error/overflow_error.pass.cpp
td.exceptions/range.error/range_error.pass.cpp
td.exceptions/runtime.error/runtime_error.pass.cpp
td.exceptions/underflow.error/underflow_error.pass.cpp
td.exceptions/version.pass.cpp
yserr/errc.pass.cpp
yserr/syserr.compare/eq_error_code_error_code.pass.cpp
yserr/syserr.errcat/nothing_to_do.pass.cpp
yserr/syserr.errcat/syserr.errcat.derived/message.pass.cpp
yserr/syserr.errcat/syserr.errcat.nonvirtuals/default_ctor.pass.cpp
yserr/syserr.errcat/syserr.errcat.nonvirtuals/eq.pass.cpp
yserr/syserr.errcat/syserr.errcat.nonvirtuals/lt.pass.cpp
yserr/syserr.errcat/syserr.errcat.nonvirtuals/neq.pass.cpp
yserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
yserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
yserr/syserr.errcat/syserr.errcat.overview/error_category.pass.cpp
yserr/syserr.errcat/syserr.errcat.virtuals/default_error_condition.pass.cpp
yserr/syserr.errcat/syserr.errcat.virtuals/equivalent_error_code_int.pass.cpp
yserr/syserr.errcat/syserr.errcat.virtuals/equivalent_int_error_condition.pass.cpp
yserr/syserr.errcode/nothing_to_do.pass.cpp
yserr/syserr.errcode/syserr.errcode.constructors/ErrorCodeEnum.pass.cpp
yserr/syserr.errcode/syserr.errcode.constructors/default.pass.cpp
yserr/syserr.errcode/syserr.errcode.constructors/int_error_category.pass.cpp
yserr/syserr.errcode/syserr.errcode.modifiers/ErrorCodeEnum.pass.cpp
yserr/syserr.errcode/syserr.errcode.modifiers/assign.pass.cpp
yserr/syserr.errcode/syserr.errcode.modifiers/clear.pass.cpp
yserr/syserr.errcode/syserr.errcode.nonmembers/lt.pass.cpp
yserr/syserr.errcode/syserr.errcode.nonmembers/make_error_code.pass.cpp
yserr/syserr.errcode/syserr.errcode.nonmembers/stream_inserter.pass.cpp
yserr/syserr.errcode/syserr.errcode.observers/bool.pass.cpp
yserr/syserr.errcode/syserr.errcode.observers/category.pass.cpp
yserr/syserr.errcode/syserr.errcode.observers/default_error_condition.pass.cpp
yserr/syserr.errcode/syserr.errcode.observers/message.pass.cpp
yserr/syserr.errcode/syserr.errcode.observers/value.pass.cpp
yserr/syserr.errcode/syserr.errcode.overview/nothing_to_do.pass.cpp
yserr/syserr.errcondition/nothing_to_do.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.constructors/ErrorConditionEnum.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.constructors/default.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.constructors/int_error_category.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.modifiers/ErrorConditionEnum.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.modifiers/assign.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.modifiers/clear.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.nonmembers/lt.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.nonmembers/make_error_condition.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.observers/bool.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.observers/category.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.observers/message.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.observers/value.pass.cpp
yserr/syserr.errcondition/syserr.errcondition.overview/nothing_to_do.pass.cpp
yserr/syserr.hash/error_code.pass.cpp
yserr/syserr.syserr/nothing_to_do.pass.cpp
yserr/syserr.syserr/syserr.syserr.members/ctor_error_code.pass.cpp
yserr/syserr.syserr/syserr.syserr.members/ctor_error_code_const_char_pointer.pass.cpp
yserr/syserr.syserr/syserr.syserr.members/ctor_error_code_string.pass.cpp
yserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category.pass.cpp
yserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_const_char_pointer.pass.cpp
yserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_string.pass.cpp
yserr/syserr.syserr/syserr.syserr.overview/nothing_to_do.pass.cpp
yserr/version.pass.cpp
|