Skip to content

Commit 7b00b84

Browse files
committed
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
1 parent 16f90bf commit 7b00b84

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/BlockLanguageSpec.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Revisions
1212
=========
1313

1414
- 2008/2/25 --- created
15-
- 2008/7/28 --- revised, __block syntax
15+
- 2008/7/28 --- revised, ``__block`` syntax
1616
- 2008/8/13 --- revised, Block globals
1717
- 2008/8/21 --- revised, C++ elaboration
18-
- 2008/11/1 --- revised, __weak support
18+
- 2008/11/1 --- revised, ``__weak`` support
1919
- 2009/1/12 --- revised, explicit return types
20-
- 2009/2/10 --- revised, __block objects need retain
20+
- 2009/2/10 --- revised, ``__block`` objects need retain
2121

2222
Overview
2323
========
@@ -283,7 +283,7 @@ variables of automatic storage referenced within the Block expression
283283
Object variables of ``__block`` storage type are assumed to hold
284284
normal pointers with no provision for retain and release messages.
285285

286-
Foundation defines (and supplies) -copy and -release methods for
286+
Foundation defines (and supplies) ``-copy`` and ``-release`` methods for
287287
Blocks.
288288

289289
In the Objective-C and Objective-C++ languages, we allow the

docs/LanguageExtensions.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -842,9 +842,8 @@ Blocks
842842
======
843843

844844
The syntax and high level language feature description is in
845-
`BlockLanguageSpec.rst <BlockLanguageSpec.rst>`_. Implementation and ABI
846-
details for the clang implementation are in `Block-ABI-Apple.txt
847-
<Block-ABI-Apple.txt>`_.
845+
:doc:`BlockLanguageSpec`. Implementation and ABI details for the clang
846+
implementation are in `Block-ABI-Apple.txt <Block-ABI-Apple.txt>`_.
848847

849848
Query for this feature with ``__has_extension(blocks)``.
850849

0 commit comments

Comments
 (0)