summaryrefslogtreecommitdiff
path: root/docs/AutomaticReferenceCounting.rst
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2016-09-12 16:14:52 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2016-09-12 16:14:52 +0000
commit3578a2a948748d2be5fef0052db60fdcc4cc592e (patch)
tree2278dff366c3ef8f6f0758d41a4b9a7298b5c735 /docs/AutomaticReferenceCounting.rst
parent0ca4899ca014e98068ad920e023ec283341c0913 (diff)
downloadclang-3578a2a948748d2be5fef0052db60fdcc4cc592e.tar.gz
Trivial documentation fix regarding Obj-C ARC 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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/AutomaticReferenceCounting.rst')
-rw-r--r--docs/AutomaticReferenceCounting.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/AutomaticReferenceCounting.rst b/docs/AutomaticReferenceCounting.rst
index 2faed23791..aa2a28399d 100644
--- a/docs/AutomaticReferenceCounting.rst
+++ b/docs/AutomaticReferenceCounting.rst
@@ -910,10 +910,10 @@ not support ``__weak`` references.
binary compatibility.
A class may indicate that it does not support weak references by providing the
-``objc_arc_weak_unavailable`` attribute on the class's interface declaration. A
+``objc_arc_weak_reference_unavailable`` attribute on the class's interface declaration. A
retainable object pointer type is **weak-unavailable** if
is a pointer to an (optionally protocol-qualified) Objective-C class ``T`` where
-``T`` or one of its superclasses has the ``objc_arc_weak_unavailable``
+``T`` or one of its superclasses has the ``objc_arc_weak_reference_unavailable``
attribute. A program is ill-formed if it applies the ``__weak`` ownership
qualifier to a weak-unavailable type or if the value operand of a weak
assignment operation has a weak-unavailable type.