llvm-project/clang/test/CXX/dcl.dcl/dcl.spec
Argyrios Kyrtzidis 7451d1cd00 [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
2011-07-01 22:22:50 +00:00
..
dcl.constexpr Commit my WIP on constexpr support. This commit: an XFAILed test and treating constexpr as a top-level const. 2010-06-09 21:19:43 +00:00
dcl.fct.spec fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
dcl.stc When an explicit specialization has a storage specifier, error if that 2011-06-17 05:09:08 +00:00
dcl.type [ARC] When casting from a pointer to an objective-c object with known ownership, if the 2011-07-01 22:22:50 +00:00
dcl.typedef Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00