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

David Blaikie dblaikie at gmail.com
Sat Mar 24 15:46:42 PDT 2012

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.

- David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uninit.diff
Type: application/octet-stream
Size: 743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120324/2544ec98/attachment.obj>

More information about the cfe-commits mailing list