aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2023-03-02 07:16:44 +0900
committerNAKAMURA Takumi <geek4civic@gmail.com>2023-04-25 22:38:20 +0900
commitab2187d786a4cd7655c1ebe7dcb6564e657f7d65 (patch)
treeb284f500d264b48c27bddd3947b450904ff5e908 /lldb/unittests/ScriptInterpreter/Python
parent150ba961395ab18e7c2ed887cbc9871b9b9c8353 (diff)
downloadllvm-ab2187d786a4cd7655c1ebe7dcb6564e657f7d65.zip
llvm-ab2187d786a4cd7655c1ebe7dcb6564e657f7d65.tar.gz
llvm-ab2187d786a4cd7655c1ebe7dcb6564e657f7d65.tar.bz2
TableGen: Introduce `!range` operator for half-opened interval
`!range(a, b)` generates a list `[a,b)`. `a` is optional and `0` by default. - `!range(-1, 4)` generates `[-1, 0, 1, 2, 3]` - `!range(4)` generates `[0, 1, 2, 3]` - `!range(2, 2)` generates `[]<list<int>>` `!range(list)` is equivalent to `!range(0, !size(list))`. Differential Revision: https://reviews.llvm.org/D145871
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions