]> granicus.if.org Git - clang/commit
Forbid the block and lambda copy-capture of __autoreleasing variables
authorJohn McCall <rjmccall@apple.com>
Fri, 30 Mar 2012 05:23:48 +0000 (05:23 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 30 Mar 2012 05:23:48 +0000 (05:23 +0000)
commit100c6491c99e92f6b6e9551d0b0cfe3d65eb306b
treec7d29f068f59880c7b0991d83969071d71776189
parent5629646711d9c748feb1043a7df2d5ca7d1bdfc4
Forbid the block and lambda copy-capture of __autoreleasing variables
in ARC, under the usual reasoning limiting the use of __autoreleasing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153725 91177308-0d34-0410-b5e6-96231b3b80d8
docs/AutomaticReferenceCounting.html
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/SemaObjC/arc-invalid.m
test/SemaObjCXX/arc-0x.mm