]> granicus.if.org Git - clang/commit
objc-arc: captured block variable accessed in its block literal
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 19 Jun 2012 20:53:26 +0000 (20:53 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 19 Jun 2012 20:53:26 +0000 (20:53 +0000)
commitddfc8a1e68ac67d748ca918acac8f1c78a51395c
treec1b989a751bf70010e7b432f15e1d1341e627a92
parentc9480dd03522f0bab5fff7d30402cb7ee31117dc
objc-arc: captured block variable accessed in its block literal
initializer need be null initialized before initializer takes
hold, just like any other initialized retainable object pointer.
// rdar://11016025

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158738 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
test/CodeGenObjC/arc-blocks.m