[llvm] [TableGen][Docs] Fix `!range` markup (PR #95540)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 06:10:41 PDT 2024


https://github.com/pfusik created https://github.com/llvm/llvm-project/pull/95540

None

>From 325de59f21904e0815c54d4b90e7ee99a3c06245 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