[llvm] c659e3a - [TableGen][Docs] Fix `!range` markup (#95540)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 07:54:01 PDT 2024


Author: Piotr Fusik
Date: 2024-06-17T16:53:57+02:00
New Revision: c659e3a3f8ab797e65ca72a969b74cd06b1dfbd2

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

LOG: [TableGen][Docs] Fix `!range` markup (#95540)

Added: 
    

Modified: 
    llvm/docs/TableGen/ProgRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/TableGen/ProgRef.rst b/llvm/docs/TableGen/ProgRef.rst
index 45fda317ef643..3919c2a9b1b62 100644
--- a/llvm/docs/TableGen/ProgRef.rst
+++ b/llvm/docs/TableGen/ProgRef.rst
@@ -1868,7 +1868,7 @@ and non-0 as true.
     result. A logical OR can be performed if all the arguments are either
     0 or 1.
 
-``!range([``\ *start*\ ``,]`` *end*\ ``[, ``\ *step*\ ``])``
+``!range([``\ *start*\ ``,]`` *end*\ ``[,``\ *step*\ ``])``
     This operator produces half-open range sequence ``[start : end : step)`` as
     ``list<int>``. *start* is ``0`` and *step* is ``1`` by default. *step* can
     be negative and cannot be 0. If *start* ``<`` *end* and *step* is negative,


        


More information about the llvm-commits mailing list