[PATCH] D23855: Make exception-throwing from a noexcept build `abort()`.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 24 15:36:26 PDT 2016


mclow.lists created this revision.
mclow.lists added reviewers: EricWF, hiraditya, kparzysz.
mclow.lists added a subscriber: cfe-commits.

This is a follow on to D21232, which marked a bunch of exception-throwing helper routines as `noreturn`.

Now, make them really never return.  Either they throw, or they call `abort`.


https://reviews.llvm.org/D23855

Files:
  include/__locale
  include/any
  include/array
  include/bitset
  include/complex
  include/deque
  include/experimental/any
  include/experimental/dynarray
  include/experimental/optional
  include/future
  include/locale
  include/memory
  include/regex
  include/string
  include/vector
  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.69178.patch
Type: text/x-patch
Size: 25289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160824/d485b6b4/attachment-0001.bin>


More information about the cfe-commits mailing list