[PATCH] Supporting function-try-blocks for -Wreturn-type

Aaron Ballman aaron at aaronballman.com
Wed Oct 22 13:37:11 PDT 2014


Details, details! ;-) It was trivial, but not THAT trivial -- thanks, David!

~Aaron

On Wed, Oct 22, 2014 at 4:34 PM, David Blaikie <dblaikie at gmail.com> wrote:
> (missing patch attachment)
>
> On Wed, Oct 22, 2014 at 1:29 PM, Aaron Ballman <aaron at aaronballman.com>
> wrote:
>>
>> Currently, function try blocks are not analyzed to determine whether
>> all control paths return a value. This patch addresses that, and adds
>> test cases for it. This appears to be a relatively simple change
>> required to support this.
>>
>> ~Aaron
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FunctionTryBlock.patch
Type: application/octet-stream
Size: 4137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141022/5c3b6d77/attachment.obj>


More information about the cfe-commits mailing list