diff options
| author | Jonathan Roelofs <jonathan@codesourcery.com> | 2016-09-12 16:14:52 +0000 |
|---|---|---|
| committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2016-09-12 16:14:52 +0000 |
| commit | 96cb94b2a9286f27dfb1de9dc8ba814f8958e177 (patch) | |
| tree | c307359da935ee88dd21be7984260930d626c277 /clang | |
| parent | 72090c2162edc310c3af99cbf3e2f3c1b393315c (diff) | |
| download | bcm5719-llvm-96cb94b2a9286f27dfb1de9dc8ba814f8958e177.tar.gz bcm5719-llvm-96cb94b2a9286f27dfb1de9dc8ba814f8958e177.zip | |
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!
llvm-svn: 281227
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/docs/AutomaticReferenceCounting.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/AutomaticReferenceCounting.rst b/clang/docs/AutomaticReferenceCounting.rst index 2faed237916..aa2a28399d1 100644 --- a/clang/docs/AutomaticReferenceCounting.rst +++ b/clang/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. |

