[PATCH] D21232: Add attribute noreturn to functions that throw

Eric Fiselier via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 23:40:24 PDT 2016


EricWF added a comment.

Sorry to jump in late here, but libc++ already has a NORETURN macro. It'l _LIBCPP_NORETURN. Please use that instead.

You'll also want to apply this change to `__libcpp_throw` in `<exception>`.


http://reviews.llvm.org/D21232





More information about the llvm-commits mailing list