]> granicus.if.org Git - clang/commit
objc-arc: Diagnose when captured variable in block literals
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 11 Jul 2011 18:04:54 +0000 (18:04 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 11 Jul 2011 18:04:54 +0000 (18:04 +0000)
commit4e7c7f2b78ac3930e45f00626ef6acf08b3f80ca
tree2b269d2682284e0de8d31a7e1e9509e0a96801fb
parent0673cb30340aadaede7b795c763b00f6b64e611c
objc-arc: Diagnose when captured variable in block literals
require destruction and there is possibility of that without
construction. Thanks Johnm for review and suggestions offline.
// rdar://9535237.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134906 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/JumpDiagnostics.cpp
lib/Sema/SemaExpr.cpp
test/SemaObjC/arc-jump-block.m [new file with mode: 0644]