From f8efbbb5411503a88259972c23373b68f77a8b46 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 21 Oct 2017 16:43:01 +0000 Subject: [PATCH] Fixing broken attribute documentation for __attribute__((noescape)); a code block was missing and the existing code block was missing a mandatory newline. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316267 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/AttrDocs.td | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td index 78a40c4693..ecff329c4c 100644 --- a/include/clang/Basic/AttrDocs.td +++ b/include/clang/Basic/AttrDocs.td @@ -142,6 +142,7 @@ annotated with ``noescape`` do not actuallly escape. For example: .. code-block:: c + int *gp; void nonescapingFunc(__attribute__((noescape)) int *p) { @@ -156,6 +157,8 @@ Additionally, when the parameter is a `block pointer `, the same restriction applies to copies of the block. For example: +.. code-block:: c + typedef void (^BlockTy)(); BlockTy g0, g1; -- 2.50.1