From a26b2e5ab6ceac8035d31131906b4979b7e315bd Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian 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 8b52038202..88704d939a 100644 --- a/docs/AutomaticReferenceCounting.html +++ b/docs/AutomaticReferenceCounting.html @@ -580,8 +580,9 @@ respectively, is poor form.

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 intptr_t -or void*. The bridged +Objective-C object pointer shall not be converted to void*. +As an exception, cast to intptr_t is allowed becuase such +casts are not transferring ownership. The bridged casts may be used to perform these conversions where necessary.

-- 2.50.1