Skip to content

Commit 72de0e4

Browse files
authored
[TableGen][Docs] Fix empty list syntax in TableGen doc. (#145041)
`[]<list<int>>` actually produces `list<list<int>>`.
1 parent 770b16c commit 72de0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/TableGen/ProgRef.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ and non-0 as true.
19151915
``list<int>``. *start* is ``0`` and *step* is ``1`` by default. *step* can
19161916
be negative and cannot be 0. If *start* ``<`` *end* and *step* is negative,
19171917
or *start* ``>`` *end* and *step* is positive, the result is an empty list
1918-
``[]<list<int>>``.
1918+
``[]<int>``.
19191919

19201920
For example:
19211921

0 commit comments

Comments
 (0)