[libcxx-commits] [PATCH] D154995: [libc++] Use _LIBCPP_VERBOSE_ABORT in a few remaining __throw_FOO functions

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 12 13:41:11 PDT 2023


philnik accepted this revision.
philnik added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/src/system_error.cpp:288
 void
 __throw_system_error(int ev, const char* what_arg)
 {
----------------
Maybe we should add an overload for `std::error_code` and replace uses, so we can use `error_code::message()` for a nicer error message.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154995/new/

https://reviews.llvm.org/D154995



More information about the libcxx-commits mailing list