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

Fariborz Jahanian fjahanian at apple.com
Wed Jul 6 14:58:44 PDT 2011


Author: fjahanian
Date: Wed Jul  6 16:58:44 2011
New Revision: 134544

URL: http://llvm.org/viewvc/llvm-project?rev=134544&view=rev
Log:
Update documentation for // rdar://9619861

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=134544&r1=134543&r2=134544&view=diff
==============================================================================
--- cfe/trunk/docs/AutomaticReferenceCounting.html (original)
+++ cfe/trunk/docs/AutomaticReferenceCounting.html Wed Jul  6 16:58:44 2011
@@ -580,8 +580,9 @@
 <p>In general, a program which attempts to implicitly or explicitly
 convert a value of retainable object pointer type to any
 non-retainable type, or vice-versa, is ill-formed.  For example, an
-Objective-C object pointer shall not be converted to <tt>intptr_t</tt>
-or <tt>void*</tt>.  The <a href="#objects.operands.casts">bridged
+Objective-C object pointer shall not be converted to <tt>void*</tt>. 
+As an exception, cast to <tt>intptr_t</tt> is allowed becuase such 
+casts are not transferring ownership. The <a href="#objects.operands.casts">bridged
 casts</a> may be used to perform these conversions where
 necessary.</p>
 





More information about the cfe-commits mailing list