summaryrefslogtreecommitdiffstats
path: root/clang/docs/AutomaticReferenceCounting.html
Commit message (Collapse)AuthorAgeFilesLines
* Document the behavior of property modifiers in ARC.John McCall2011-07-131-0/+37
| | | | | | rdar://problem/9768338 llvm-svn: 135104
* Move and elaborate the section on objc_arc_weak_unavailable.John McCall2011-07-071-5/+33
| | | | llvm-svn: 134567
* Update document for objc_arc_weak_unavailable attributeFariborz Jahanian2011-07-061-1/+4
| | | | | | on class declarations. Documentation for // rdar://9693477 llvm-svn: 134558
* Update document on use of ns_returns_not_retainedFariborz Jahanian2011-07-061-1/+7
| | | | | | attribute on property. Document for // rdar://9636091. llvm-svn: 134556
* Update documentation for // rdar://9619861Fariborz Jahanian2011-07-061-2/+3
| | | | llvm-svn: 134544
* More clarifications.John McCall2011-06-191-15/+16
| | | | llvm-svn: 133387
* Improve the intro to the runtime-functions section.John McCall2011-06-191-4/+27
| | | | llvm-svn: 133386
* Describe the ARC runtime support calls.John McCall2011-06-191-0/+265
| | | | llvm-svn: 133385
* Clarify the semantics of init methods, and point out a few placesJohn McCall2011-06-181-38/+67
| | | | | | where mismatched semantics can cause undefined behavior. llvm-svn: 133341
* A couple of minor changes to the ARC spec, plus a new sectionJohn McCall2011-06-181-1/+98
| | | | | | | specifying that retain/release/autorelease/retainCount are forbidden, plus a section talking about the behavior of dealloc. llvm-svn: 133340
* Objective-C++ ARC: eliminate the utterly unjustified loophole thatDouglas Gregor2011-06-171-6/+9
| | | | | | | | | | | silently dropped ownership qualifiers that were being applied to ownership-qualified, substituted type that was *not* a substituted template type parameter. We now provide a diagnostic in such cases, and recover by dropping the added qualifiers. Document this behavior in the ARC specification. llvm-svn: 133309
* Fix a grammaroDouglas Gregor2011-06-171-1/+1
| | | | llvm-svn: 133304
* Objective-ARC++: infer template type arguments ofDouglas Gregor2011-06-171-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ownership-unqualified retainable object type as __strong. This allows us to write, e.g., std::vector<id> and we'll infer that the vector's element types have __strong ownership semantics, which is far nicer than requiring: std::vector<__strong id> Note that we allow one to override the ownership qualifier of a substituted template type parameter, e.g., given template<typename T> struct X { typedef __weak T type; }; X<id> is treated the same as X<__strong id>. At instantiation type, the __weak in "__weak T" overrides the (inferred or specified) __strong on the template argument type, so that we can still provide metaprogramming transformations. This is part of <rdar://problem/9595486>. llvm-svn: 133303
* The specification document for the new ObjC Automatic Reference CountingJohn McCall2011-06-151-0/+1350
feature. Implementation to follow. :) llvm-svn: 133090
OpenPOWER on IntegriCloud