commit | 6dc6f008994472cf4da321855e8c51c39720f3ed | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Tue Sep 13 18:49:24 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Tue Sep 13 18:49:24 2011 +0000 |
tree | 5e4d8e2ddb10c8a0ced4b69661f520a73e9f27b0 | |
parent | f1e7af36d6673185994b3d1751cf7e9a9a1491b8 [diff] |
A strong property of block type has "copy" setter semantics, not "retain". This is consistent with the behavior of assigning into a __strong l-value, and it's also necessary for ensuring that the ivar doesn't end up a dangling reference. We decided not to change the behavior of "retain" properties, but just to make them warnings/errors when of block type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139619 91177308-0d34-0410-b5e6-96231b3b80d8