summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2014-06-12 20:57:14 +0000
committerFariborz Jahanian <fjahanian@apple.com>2014-06-12 20:57:14 +0000
commit98be881816f1497a682e53df327fba017a1f07e1 (patch)
treeaa8543babbdc5d4794b30d57d10d9b94e42cc31f /lib/CodeGen/CGExprScalar.cpp
parent5471ad06e14d47734d89ab5d197695d935d39243 (diff)
downloadclang-98be881816f1497a682e53df327fba017a1f07e1.tar.gz
clang-98be881816f1497a682e53df327fba017a1f07e1.tar.bz2
clang-98be881816f1497a682e53df327fba017a1f07e1.tar.xz
Objective-C ARC. Blocks that strongly capture themselves
to call themselves will get the warning: "Capturing <itself> strongly in this block is likely to lead to a retain cycle". Cut down on the amount of noise by noticing that user at some point sets the captured variable to null in order to release it (and break the cycle). // rdar://16944538 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions