llvm-project/libcxx
Martin Storsjö 529ba612b0 [libcxx] [test] Use error_code::default_error_condition to check errors against the expected codes
error_code returned from functions might not be of the generic category,
but of the system category, which can have different error code values.
Use default_error_condition() to remap errors to the generic category
where possible, to allow comparing them to the expected values.

Use the ErrorIs() helper instead of a direct comparison against
an excpected value.

Differential Revision: https://reviews.llvm.org/D90602
2020-11-03 09:32:52 +02:00
..
benchmarks [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
cmake [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
docs [libc++] Migrate warning flags to the DSL 2020-11-02 12:25:05 -05:00
include [libcxx] Fix regression where `ninja all` doesn't copy libcxx headers 2020-11-01 21:34:51 -05:00
lib [libc++] NFC: Re-generate the ABI lists with the new script 2020-11-02 11:36:35 -05:00
src [libcxx] Avoid double frees of file descriptors in the fallback ifstream/ofstream codepath 2020-11-03 09:32:52 +02:00
test [libcxx] [test] Use error_code::default_error_condition to check errors against the expected codes 2020-11-03 09:32:52 +02:00
utils [libc++] Migrate warning flags to the DSL 2020-11-02 12:25:05 -05:00
www [libc++] Re-apply fdc41e11f (LWG1203) without breaking the C++11 build 2020-09-23 08:56:00 -04:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00