[cfe-commits] [patch] minor error checking case in ARC Migration

David Blaikie dblaikie at gmail.com
Mon Apr 30 19:47:09 PDT 2012

On Mon, Apr 30, 2012 at 6:38 PM, Douglas Gregor <dgregor at apple.com> wrote:
> On Mar 24, 2012, at 3:46 PM, David Blaikie <dblaikie at gmail.com> wrote:
>> GCC's rather patchy "may be uninitialized" warning caught what seems
>> to me like an actual missing error case in the ARC Migration tool.
>> Attached is a patch to fix this. I wasn't sure how to write a test
>> case for this - as it seems there are no tests for any of the error
>> cases in this part of the code. If anyone knows how to write such
>> tests I'd be happy to contribute them for this case and the others.
> This looks fine as an "obvious fix", thanks!

Thanks (committed as r155880) - just didn't want to go treading in ARC
stuff that seems to have no test coverage without a little oversight.

- David

More information about the cfe-commits mailing list