Skip to content

Commit a904bb4

Browse files
committed
[TableGen] Format !range doc
1 parent 77813b0 commit a904bb4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/docs/TableGen/ProgRef.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,10 @@ and non-0 as true.
18361836
``list<int>``. *start* is ``0`` and *step* is ``1`` by default. *step* can
18371837
be negative and cannot be 0. If *start* ``<`` *end* and *step* is negative,
18381838
or *start* ``>`` *end* and *step* is positive, the result is an empty list
1839-
``[]<list<int>>``. For example:
1839+
``[]<list<int>>``.
1840+
1841+
For example:
1842+
18401843
* ``!range(4)`` is equivalent to ``!range(0, 4, 1)`` and the result is
18411844
`[0, 1, 2, 3]`.
18421845
* ``!range(1, 4)`` is equivalent to ``!range(1, 4, 1)`` and the result is

0 commit comments

Comments
 (0)