aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-12-20 20:51:59 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-12-20 20:51:59 +0000
commit7b00b84752b7f3cbd4079f88ddb359170b7073c1 (patch)
treee2d5ddba545f2bb2e54099f95052750d7881e633
parent16f90bfe53ed637156c315cbbeddcf2d91266d67 (diff)
Documentation: use monospaced font in BlockLanguageSpec, and fix a link to this
document git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170762 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/BlockLanguageSpec.rst8
-rw-r--r--docs/LanguageExtensions.rst5
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/BlockLanguageSpec.rst b/docs/BlockLanguageSpec.rst
index 77679cd5a2..3632d56683 100644
--- a/docs/BlockLanguageSpec.rst
+++ b/docs/BlockLanguageSpec.rst
@@ -12,12 +12,12 @@ Revisions
=========
- 2008/2/25 --- created
-- 2008/7/28 --- revised, __block syntax
+- 2008/7/28 --- revised, ``__block`` syntax
- 2008/8/13 --- revised, Block globals
- 2008/8/21 --- revised, C++ elaboration
-- 2008/11/1 --- revised, __weak support
+- 2008/11/1 --- revised, ``__weak`` support
- 2009/1/12 --- revised, explicit return types
-- 2009/2/10 --- revised, __block objects need retain
+- 2009/2/10 --- revised, ``__block`` objects need retain
Overview
========
@@ -283,7 +283,7 @@ variables of automatic storage referenced within the Block expression
Object variables of ``__block`` storage type are assumed to hold
normal pointers with no provision for retain and release messages.
-Foundation defines (and supplies) -copy and -release methods for
+Foundation defines (and supplies) ``-copy`` and ``-release`` methods for
Blocks.
In the Objective-C and Objective-C++ languages, we allow the
diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst
index 645fe4ab9d..c3e2c83d13 100644
--- a/docs/LanguageExtensions.rst
+++ b/docs/LanguageExtensions.rst
@@ -842,9 +842,8 @@ Blocks
======
The syntax and high level language feature description is in
-`BlockLanguageSpec.rst <BlockLanguageSpec.rst>`_. Implementation and ABI
-details for the clang implementation are in `Block-ABI-Apple.txt
-<Block-ABI-Apple.txt>`_.
+:doc:`BlockLanguageSpec`. Implementation and ABI details for the clang
+implementation are in `Block-ABI-Apple.txt <Block-ABI-Apple.txt>`_.
Query for this feature with ``__has_extension(blocks)``.