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

Alexey Bader via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 30 04:41:12 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG76f84e772978: [Doc] Fix sphinx warnings about wrong code-block format (authored by bader).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101549/new/

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.341846.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210430/9a3f0f47/attachment.bin>


More information about the cfe-commits mailing list