On Sep 2, 2010, at 5:25 PM, Anders Carlsson wrote:

> Author: andersca
> Date: Thu Sep  2 19:25:02 2010
> New Revision: 112918
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=112918&view=rev
> Log:
> Get rid of the "functions declared 'noreturn' should have a 'void' result 
> type" warning.
> 
> The rationale behind this is that it is normal for callback functions to have 
> a non-void return type
> and it should still be possible to mark them noreturn. (JavaScriptCore is a 
> good example of this).

Hey Anders,

I'm not necessarily opposed to this change, but how exactly is this useful?

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to