r262136 - Correcting indentation for an RST code block.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 27 05:13:16 PST 2016
Author: aaronballman
Date: Sat Feb 27 07:13:16 2016
New Revision: 262136
URL: http://llvm.org/viewvc/llvm-project?rev=262136&view=rev
Log:
Correcting indentation for an RST code block.
Modified:
cfe/trunk/include/clang/Basic/AttrDocs.td
Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=262136&r1=262135&r2=262136&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Sat Feb 27 07:13:16 2016
@@ -1591,11 +1591,12 @@ to declare if they are being read or wri
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
More information about the cfe-commits
mailing list