[PATCH] NoReturn Warning: Non-Void Return Type

dblaikie at gmail.com dblaikie at gmail.com
Mon Jan 6 10:27:07 PST 2014

On Sun Jan 05 2014 at 6:50:29 PM, Michael Bao <mike.h.bao at gmail.com> wrote:

> Hm, actually I just found a discussion on GCC about the same thing:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20000
> It seems like they concluded that this warning would be unnecessary as
> long as the 'return' statement is caught, which makes sense. I'm
> guessing we could/should probably come to the same conclusion?

I /think/ so, but I don't know how general GCC's warning is about return in
a noreturn function, and I don't know if Clang has an equivalent/same
warning. Probably the better route to go, though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140106/a6644121/attachment.html>

More information about the cfe-commits mailing list