[llvm] [TableGen][Docs] Fix `!range` markup (PR #95540)
Piotr Fusik via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 07:51:44 PDT 2024
https://github.com/pfusik updated https://github.com/llvm/llvm-project/pull/95540
>From 314608c7b4b1116ed94b2aff1e8bc982ead4ff1b Mon Sep 17 00:00:00 2001
From: Piotr Fusik <piotr at fusion-lang.org>
Date: Fri, 14 Jun 2024 15:08:52 +0200
Subject: [PATCH] [TableGen][Docs] Fix `!range` markup
---
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 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