]> granicus.if.org Git - clang/commitdiff
Correcting indentation for an RST code block.
authorAaron Ballman <aaron@aaronballman.com>
Sat, 27 Feb 2016 13:13:16 +0000 (13:13 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sat, 27 Feb 2016 13:13:16 +0000 (13:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262136 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/AttrDocs.td

index c4597512bed6d14cc4af2dfb0655dd992b97c678..cf7592b0bd5306428836db23b94aaabb493d2713 100644 (file)
@@ -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