[libcxx-commits] [libcxx] [libcxx] Handle windows system error code mapping in std::error_code. (PR #93101)

James Y Knight via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 13 15:07:24 PDT 2024


================
@@ -582,7 +582,11 @@ struct ExceptionChecker {
     assert(ErrorIsImp(Err.code(), {expected_err}));
----------------
jyknight wrote:

Good point -- the behavior is being tested implicitly, but not explicitly. Added a new explicit test in libcxx/test/libcxx/diagnostics/system_error_win_codes.pass.cpp.

https://github.com/llvm/llvm-project/pull/93101


More information about the libcxx-commits mailing list