diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-06 22:56:44 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-06 22:56:44 +0000 |
| commit | 1025318ca9741b390e04441e627eb7575661309a (patch) | |
| tree | 29af590efc33821d84bc457c3e8ae33fe171f738 /clang | |
| parent | 7ed5625082f4a1b527c2334620364b7ca43c1ddd (diff) | |
| download | bcm5719-llvm-1025318ca9741b390e04441e627eb7575661309a.tar.gz bcm5719-llvm-1025318ca9741b390e04441e627eb7575661309a.zip | |
Update document for objc_arc_weak_unavailable attribute
on class declarations. Documentation for // rdar://9693477
llvm-svn: 134558
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/docs/AutomaticReferenceCounting.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/docs/AutomaticReferenceCounting.html b/clang/docs/AutomaticReferenceCounting.html index 280462481cf..11bd020b751 100644 --- a/clang/docs/AutomaticReferenceCounting.html +++ b/clang/docs/AutomaticReferenceCounting.html @@ -728,7 +728,10 @@ new pointee, unless that object is currently undergoing deallocation, in which case it the lvalue is updated to a null pointer. This must execute atomically with respect to other assignments to the object, to reads from the object, and to the final release of the new pointed-to -value.</li> +value. If class is not compatible with weak references, +<tt>objc_arc_weak_unavailable</tt> +attribute must be specified on class declaration to disallow weak +references to their objects.</li> <li>For <tt>__unsafe_unretained</tt> objects, the new pointee is stored into the lvalue using primitive semantics.</li> <li>For <tt>__autoreleasing</tt> objects, the new pointee is retained, |

