[PATCH] D101549: [Doc] Fix sphynx warnings about wrong code-block format

Alexey Bader via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 29 10:13:23 PDT 2021


bader created this revision.
bader added a reviewer: Anastasia.
Herald added a subscriber: ebevhan.
bader requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101549

Files:
  clang/docs/SYCLSupport.rst


Index: clang/docs/SYCLSupport.rst
===================================================================
--- clang/docs/SYCLSupport.rst
+++ clang/docs/SYCLSupport.rst
@@ -99,7 +99,7 @@
      - private_space
 
 
-.. code-block::
+.. code-block:: C++
+
+    //TODO: add support for __attribute__((opencl_global_host)) and __attribute__((opencl_global_device)).
 
-   TODO: add support for `__attribute__((opencl_global_host))` and
-   `__attribute__((opencl_global_device))`.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101549.341563.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210429/2b0eef49/attachment.bin>


More information about the cfe-commits mailing list