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

Aditya Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 10:15:53 PDT 2016


hiraditya added a comment.

In https://reviews.llvm.org/D21232#458989, @mclow.lists wrote:

> I think a macro would be better here; something like `LIBCPP_NORETURN_IF_NO_EXCEPTIONS` rather than putting `__attribute__((__noreturn__))` everywhere.
>
> Besides, it makes it clear *why* these bits are being marked `noreturn`.
>
> What do you think?


ping


https://reviews.llvm.org/D21232





More information about the llvm-commits mailing list