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
.clang-format
.gitignore
CMakeLists.txt [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
CREDITS.TXT
LICENSE.TXT
NOTES.TXT
TODO.TXT
appveyor-reqs-install.cmd
appveyor.yml