[cfe-commits] [PATCH] mark __builtin_eh_return as noreturn
Dimitry Andric
dimitry at andric.com
Mon Jul 26 14:57:14 PDT 2010
Mark __builtin_eh_return as noreturn. This is because currently the
following simple fragment:
int f(long offset, void *handler)
{
__builtin_eh_return(offset, handler);
}
produces "warning: control reaches end of non-void function
[-Wreturn-type]".
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: builtin_eh_return-noreturn.diff
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100726/82d9085f/attachment.ksh>
More information about the cfe-commits
mailing list