[llvm] a904bb4 - [TableGen] Format !range doc
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 00:24:59 PDT 2023
Author: wangpc
Date: 2023-09-27T15:24:21+08:00
New Revision: a904bb464fe46052803e49b99ec255d2078c3c3b
URL: https://github.com/llvm/llvm-project/commit/a904bb464fe46052803e49b99ec255d2078c3c3b
DIFF: https://github.com/llvm/llvm-project/commit/a904bb464fe46052803e49b99ec255d2078c3c3b.diff
LOG: [TableGen] Format !range doc
Added:
Modified:
llvm/docs/TableGen/ProgRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/TableGen/ProgRef.rst b/llvm/docs/TableGen/ProgRef.rst
index fc265f199b99d2a..92cf5d146ff2e05 100644
--- a/llvm/docs/TableGen/ProgRef.rst
+++ b/llvm/docs/TableGen/ProgRef.rst
@@ -1836,7 +1836,10 @@ and non-0 as true.
``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,
or *start* ``>`` *end* and *step* is positive, the result is an empty list
- ``[]<list<int>>``. For example:
+ ``[]<list<int>>``.
+
+ For example:
+
* ``!range(4)`` is equivalent to ``!range(0, 4, 1)`` and the result is
`[0, 1, 2, 3]`.
* ``!range(1, 4)`` is equivalent to ``!range(1, 4, 1)`` and the result is
More information about the llvm-commits
mailing list