summaryrefslogtreecommitdiffstats
path: root/clang/docs/AutomaticReferenceCounting.rst
Commit message (Collapse)AuthorAgeFilesLines
* docs: update docs for objc_storeStrong behaviourSaleem Abdulrasool2017-02-111-5/+2
| | | | | | objc_storeStrong does not return a value. llvm-svn: 294855
* Trivial documentation fix regarding Obj-C ARC ↵Jonathan Roelofs2016-09-121-2/+2
| | | | | | | | | | | | | objc_arc_weak_reference_unavailable Fixed incorrect docs that referred to: objc_arc_weak_unavailable when it should be: objc_arc_weak_reference_unavailable Patch by: Sean McBride! llvm-svn: 281227
* Allow (Object *)kMyGlobalCFObj casts without bridgingBen Langmuir2015-02-251-1/+9
| | | | | | | | | | | | | | | | Previously we allowed these casts only for constants declared in system headers, which we assume are retain/release-neutral. Now also allow them for constants in user headers, treating them as +0. Practically, this means that we will now allow: id x = (id)kMyGlobalConst; But unlike with system headers we cannot mix them with +1 values: id y = (id)(b ? kMyGlobalConst : [Obj newValAtPlusOne]); // error id z = (id)(b ? kSystemGlobalConst: [Obj newValAtPlusOne]); // OK Thanks to John for suggesting this improvement. llvm-svn: 230534
* Documentation: formatting fixesDmitri Gribenko2013-03-131-2/+3
| | | | llvm-svn: 176948
* Tighten up the rules for precise lifetime and documentJohn McCall2013-03-131-21/+173
| | | | | | | | the requirements on the ARC optimizer. rdar://13407451 llvm-svn: 176924
* Attempt to not place ownership qualifiers on the result typeJohn McCall2013-03-011-5/+30
| | | | | | | | | | | of block declarators. Document the rule we use. Also document the rule that Doug implemented a few weeks ago which drops ownership qualifiers on function result types. rdar://10127067 llvm-svn: 176336
* Added a footnote to the documentation for objc_storeStrong that makes it clearMichael Gottesman2013-02-221-1/+6
| | | | | | | that a __strong object of block type is a valid argument to objc_storeStrong but that an objc_retain and not an objc_retainBlock will be emitted. llvm-svn: 175838
* Removed extra "`" from ARC documentation.Michael Gottesman2013-01-081-1/+1
| | | | llvm-svn: 171920
* Documentation: add a missing wordDmitri Gribenko2012-12-161-1/+1
| | | | llvm-svn: 170296
* Documentation: AutomaticReferenceCounting.rst: use CSS section numbering.Dmitri Gribenko2012-12-161-5/+52
| | | | | | This enables us to use the same document structure as in other files. llvm-svn: 170283
* docs: Fix completely broken adornment structure.Sean Silva2012-12-161-68/+60
| | | | | | | | | | | | The adornment: === Foo === is for titles, not sections. llvm-svn: 170278
* Documentation: convert AutomaticReferenceCounting.html to reSTDmitri Gribenko2012-12-131-0/+2061
Patch by Anastasi Voitova with with small fixes by me. llvm-svn: 170132
OpenPOWER on IntegriCloud