[cfe-commits] r170762 - in /cfe/trunk/docs: BlockLanguageSpec.rst LanguageExtensions.rst
Dmitri Gribenko
gribozavr at gmail.com
Thu Dec 20 12:51:59 PST 2012
Author: gribozavr
Date: Thu Dec 20 14:51:59 2012
New Revision: 170762
URL: http://llvm.org/viewvc/llvm-project?rev=170762&view=rev
Log:
Documentation: use monospaced font in BlockLanguageSpec, and fix a link to this
document
Modified:
cfe/trunk/docs/BlockLanguageSpec.rst
cfe/trunk/docs/LanguageExtensions.rst
Modified: cfe/trunk/docs/BlockLanguageSpec.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/BlockLanguageSpec.rst?rev=170762&r1=170761&r2=170762&view=diff
==============================================================================
--- cfe/trunk/docs/BlockLanguageSpec.rst (original)
+++ cfe/trunk/docs/BlockLanguageSpec.rst Thu Dec 20 14:51:59 2012
@@ -12,12 +12,12 @@
=========
- 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 @@
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
Modified: cfe/trunk/docs/LanguageExtensions.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LanguageExtensions.rst?rev=170762&r1=170761&r2=170762&view=diff
==============================================================================
--- cfe/trunk/docs/LanguageExtensions.rst (original)
+++ cfe/trunk/docs/LanguageExtensions.rst Thu Dec 20 14:51:59 2012
@@ -842,9 +842,8 @@
======
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)``.
More information about the cfe-commits
mailing list