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

Sebastian Pop via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 13:33:09 PDT 2016


sebpop added a comment.

In http://reviews.llvm.org/D21232#460075, @hiraditya wrote:

> Thanks for the suggestion, I agree LIBCPP_NORETURN_IF_NO_EXCEPTIONS makes more sense.


I think the name should be LIBCPP_NORETURN_IF_EXCEPTIONS:
we add the attribute "noreturn" when exceptions are enabled.


http://reviews.llvm.org/D21232





More information about the llvm-commits mailing list