[PATCH] D23855: Make exception-throwing from a noexcept build `abort()`.
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 24 23:33:55 PDT 2016
mclow.lists updated this revision to Diff 69201.
mclow.lists added a comment.
I like this revision better; I need to check, but I think this hits all the exception classes.
Goal: Every exception class in the standard should have a `VSTD::__throw_XXX` function, marked `_LIBCPP_NORETURN inline _LIBCPP_ALWAYS_INLINE`, that does the throwing.
Note #1: `__throw_bad_alloc` is already in namespace `std`.
Note #2: `__throw_runtile_error` is already in the dylib.
https://reviews.llvm.org/D23855
Files:
include/__functional_03
include/__locale
include/any
include/array
include/bitset
include/complex
include/deque
include/experimental/any
include/experimental/dynarray
include/experimental/optional
include/experimental/string_view
include/fstream
include/functional
include/future
include/locale
include/memory
include/new
include/regex
include/stdexcept
include/string
include/typeinfo
include/vector
src/debug.cpp
src/experimental/memory_resource.cpp
src/locale.cpp
src/new.cpp
src/string.cpp
src/system_error.cpp
src/thread.cpp
src/typeinfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23855.69201.patch
Type: text/x-patch
Size: 37894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160825/4b7c2d2a/attachment-0001.bin>
More information about the cfe-commits
mailing list