aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-07-15 23:48:56 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-07-15 23:48:56 +0000
commit82a921a1a4811f2d6411bcafcb2b7d59a4dd9080 (patch)
treea573c1023274f91aa98026e25a1c174ffc3325ec /lib/CodeGen/CodeGenFunction.h
parent61b4bc80e943578ae855810918a1dc9697dbd15b (diff)
[arcmt] It's not safe to remove the -release on "[[someivar delegate] release];" since it's very likely
that, after migration, the object that was passed to 'setDelegate:' will not be properly retained, e.g: -whatever { id x = [[MyDoHicky alloc] init]; [someivar setDelegate: x]; // x won't get retained in ARC. } -dealloc { [[someivar delegate] release]; // give migration error here. } rdar://8858009 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions