diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-06 21:58:44 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-06 21:58:44 +0000 |
commit | a26b2e5ab6ceac8035d31131906b4979b7e315bd (patch) | |
tree | 2a61c7118e12f5913da539f64f0f8f76ae24104c /docs/AutomaticReferenceCounting.html | |
parent | 9d5ac7c9ca31ef4d7f79822b3e4c486ec80f1c26 (diff) |
Update documentation for // rdar://9619861
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/AutomaticReferenceCounting.html')
-rw-r--r-- | docs/AutomaticReferenceCounting.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/AutomaticReferenceCounting.html b/docs/AutomaticReferenceCounting.html index 8b52038202..88704d939a 100644 --- a/docs/AutomaticReferenceCounting.html +++ b/docs/AutomaticReferenceCounting.html @@ -580,8 +580,9 @@ respectively, is poor form.</p> <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> |