[cfe-commits] r134558 - /cfe/trunk/docs/AutomaticReferenceCounting.html

Fariborz Jahanian fjahanian at apple.com
Wed Jul 6 15:56:44 PDT 2011


Author: fjahanian
Date: Wed Jul  6 17:56:44 2011
New Revision: 134558

URL: http://llvm.org/viewvc/llvm-project?rev=134558&view=rev
Log:
Update document for objc_arc_weak_unavailable attribute
on class declarations. Documentation for // rdar://9693477

Modified:
    cfe/trunk/docs/AutomaticReferenceCounting.html

Modified: cfe/trunk/docs/AutomaticReferenceCounting.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/AutomaticReferenceCounting.html?rev=134558&r1=134557&r2=134558&view=diff
==============================================================================
--- cfe/trunk/docs/AutomaticReferenceCounting.html (original)
+++ cfe/trunk/docs/AutomaticReferenceCounting.html Wed Jul  6 17:56:44 2011
@@ -728,7 +728,10 @@
 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,





More information about the cfe-commits mailing list