patch: clarify diagnostic when returned value doesn't match function return type
Nick Lewycky via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 24 13:19:23 PDT 2015
On 19 August 2015 at 15:18, Nick Lewycky <nlewycky at google.com> wrote:
> On 10 August 2015 at 19:08, Nick Lewycky <nlewycky at google.com> 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!
>>
>
> Ping!
>
Ping!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150824/242d0f59/attachment.html>
More information about the cfe-commits
mailing list