[llvm] b408efe - [NFC][AMDGPU] Mark C code in AMDGPUUsage.rst

Tony Tye via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 03:09:46 PDT 2021


Author: Tony Tye
Date: 2021-05-21T10:08:05Z
New Revision: b408efe4ffcd7a27dd80bb5824a10e8b221bb6aa

URL: https://github.com/llvm/llvm-project/commit/b408efe4ffcd7a27dd80bb5824a10e8b221bb6aa
DIFF: https://github.com/llvm/llvm-project/commit/b408efe4ffcd7a27dd80bb5824a10e8b221bb6aa.diff

LOG: [NFC][AMDGPU] Mark C code in AMDGPUUsage.rst

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D102910

Added: 
    

Modified: 
    llvm/docs/AMDGPUUsage.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index 72da458c30b1..da84bdfa01a2 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1279,7 +1279,7 @@ are deprecated and should not be used.
   Specifies the code object version number. The description field has the
   following layout:
 
-  .. code::
+  .. code:: c
 
     struct amdgpu_hsa_note_code_object_version_s {
       uint32_t major_version;
@@ -1292,7 +1292,7 @@ are deprecated and should not be used.
   Specifies the HSAIL properties used by the HSAIL Finalizer. The description
   field has the following layout:
 
-  .. code::
+  .. code:: c
 
     struct amdgpu_hsa_note_hsail_s {
       uint32_t hsail_major_version;
@@ -1305,7 +1305,7 @@ are deprecated and should not be used.
 ``NT_AMD_HSA_ISA_VERSION``
   Specifies the target ISA version. The description field has the following layout:
 
-  .. code::
+  .. code:: c
 
     struct amdgpu_hsa_note_isa_s {
       uint16_t vendor_name_size;


        


More information about the llvm-commits mailing list