aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-07-01 22:22:50 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-07-01 22:22:50 +0000
commit7451d1cd001d261395f65877d2d03fe5a4969bd9 (patch)
tree3e50a3434cb1a276e72a6b60c6cad58598680b9f /llvm/lib/CodeGen/MachineInstr.cpp
parente9b5c85041e0ccecf46e241a01f51f3daec8e215 (diff)
downloadllvm-7451d1cd001d261395f65877d2d03fe5a4969bd9.zip
llvm-7451d1cd001d261395f65877d2d03fe5a4969bd9.tar.gz
llvm-7451d1cd001d261395f65877d2d03fe5a4969bd9.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; static_cast<NSString**>(&x); // Casting as (__strong NSString**). This currently only works for C++ named casts, C casts to follow. llvm-svn: 134273
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions