[libcxx-commits] [PATCH] D65667: [libcxx] Avoid destructor call for error_category singletons

Andus Yu via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 19 13:49:49 PDT 2019


andusy updated this revision to Diff 215975.
andusy added a comment.

- Added definition for `_LIBCPP_SAFE_STATIC_AFTER_CXX11` in `<__config>`.
- Split up `GenericAndSystemErrorHelper` to `GenericErrorHelper` and `SystemErrorHelper`.




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

https://reviews.llvm.org/D65667

Files:
  libcxx/include/__config
  libcxx/src/future.cpp
  libcxx/src/ios.cpp
  libcxx/src/system_error.cpp
  libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
  libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
  libcxx/test/std/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp
  libcxx/test/std/thread/futures/futures.errors/future_category.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65667.215975.patch
Type: text/x-patch
Size: 6857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190819/d6e6c2e1/attachment.bin>


More information about the libcxx-commits mailing list