]> granicus.if.org Git - clang/commit
[arcmt] When fixing the "unassigned init call" ARC error, make sure
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 31 Mar 2012 01:34:06 +0000 (01:34 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 31 Mar 2012 01:34:06 +0000 (01:34 +0000)
commitd76e1cd8276f377c602b8370c7a61dfa7c34c764
tree867a2505d581734901bf91fd4ad9e21232ef9be2
parentd786f1a6331246e7d0eedde277f126ab92089eeb
[arcmt] When fixing the "unassigned init call" ARC error, make sure
to do a nil check for the result of the call.

rdar://10950973

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153793 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/TransUnusedInitDelegate.cpp
test/ARCMT/init.m
test/ARCMT/init.m.result