commit | 0a85183be6930571f3af8e5a976d24c3f95e5b25 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Jul 01 22:22:59 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Jul 01 22:22:59 2011 +0000 |
tree | 83072ae87cdf8bb2a24b8f4ab6861f502d05d711 | |
parent | 707f101d3302b76ee01e8ca29b1a61f081137b9f [diff] |
[ARC] When casting from a pointer to an objective-c object with known ownership, if the cast type has no ownership specified, implicitly "transfer" the ownership of the cast'ed type to the cast type: id x; (NSString**)&x; // Casting as (__strong NSString**). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134275 91177308-0d34-0410-b5e6-96231b3b80d8