patch: clarify diagnostic when returned value doesn't match function return type
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 24 18:15:41 PDT 2015
LGTM
On Mon, Aug 10, 2015 at 7:08 PM, Nick Lewycky via cfe-commits <
cfe-commits at lists.llvm.org> wrote:
> This simple-minded patch extends the case where we report "no viable
> conversion from 'X' to 'Y'" to emit a more useful diagnostic "no viable
> conversion from returned value of type 'X' to function return type 'Y'"
> when used in that context.
>
> In lieu of adding tests for this diagnostic explicitly, I've only updated
> the tests where the patch changes their result.
>
> Please review!
>
> Nick
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150824/859848ee/attachment.html>
More information about the cfe-commits
mailing list