From 6d35920b36b0d608f84c12ba3e50215a2ff5dcc3 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 27 Feb 2016 13:13:16 +0000 Subject: [PATCH] Correcting indentation for an RST code block. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262136 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/AttrDocs.td | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td index c4597512be..cf7592b0bd 100644 --- a/include/clang/Basic/AttrDocs.td +++ b/include/clang/Basic/AttrDocs.td @@ -1591,11 +1591,12 @@ to declare if they are being read or written by a kernel or function. The read_only/__read_only, write_only/__write_only and read_write/__read_write names are reserved for use as access qualifiers and shall not be used otherwise. - .. code-block:: c +.. code-block:: c + kernel void foo (read_only image2d_t imageA, - write_only image2d_t imageB) { - ... + write_only image2d_t imageB) { + ... } In the above example imageA is a read-only 2D image object, and imageB is a -- 2.40.0