From d08024c893ab843b7d8e29804084ff0e0699991a Mon Sep 17 00:00:00 2001 From: Chenguang Wang Date: Fri, 20 Jun 2025 07:08:41 -0700 Subject: [PATCH] [TableGen][Docs] Fix empty list syntax in TableGen doc. `[]>` actually produces `list>`. --- llvm/docs/TableGen/ProgRef.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/TableGen/ProgRef.rst b/llvm/docs/TableGen/ProgRef.rst index fe0564d2990df..7b30698ce4fd6 100644 --- a/llvm/docs/TableGen/ProgRef.rst +++ b/llvm/docs/TableGen/ProgRef.rst @@ -1915,7 +1915,7 @@ and non-0 as true. ``list``. *start* is ``0`` and *step* is ``1`` by default. *step* can be negative and cannot be 0. If *start* ``<`` *end* and *step* is negative, or *start* ``>`` *end* and *step* is positive, the result is an empty list - ``[]>``. + ``[]``. For example: