diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-01 22:22:59 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-01 22:22:59 +0000 |
| commit | 7192a3b84118114e65128bd2c4a6d9c0be6413e9 (patch) | |
| tree | 77d15fdac3824deac997f63399d261179eb82b3e /llvm/lib/CodeGen/MachineInstr.cpp | |
| parent | d8701b60f785a778947c32bc1b1a6bc620a3194f (diff) | |
| download | llvm-7192a3b84118114e65128bd2c4a6d9c0be6413e9.zip llvm-7192a3b84118114e65128bd2c4a6d9c0be6413e9.tar.gz llvm-7192a3b84118114e65128bd2c4a6d9c0be6413e9.tar.bz2 | |
[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**).
llvm-svn: 134275
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
