From a26b2e5ab6ceac8035d31131906b4979b7e315bd Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian <fjahanian@apple.com> Date: Wed, 6 Jul 2011 21:58:44 +0000 Subject: [PATCH] Update documentation for // rdar://9619861 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134544 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/AutomaticReferenceCounting.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/AutomaticReferenceCounting.html b/docs/AutomaticReferenceCounting.html index 8b52038202a..88704d939ab 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> -- GitLab