diff options
| author | Andrea Piseri <andrea.piseri@gmail.com> | 2022-02-05 18:00:59 +0100 |
|---|---|---|
| committer | Andrea Piseri <andrea.piseri@gmail.com> | 2022-02-05 18:00:59 +0100 |
| commit | bccbdefde952f605bde620c8d9d0c7f9a5dfc3e0 (patch) | |
| tree | ea51eb72d326dc912852ff3f641c2f4de5a9e3be /src/llvm_backend_expr.cpp | |
| parent | b54fc96b1e36ff83922d7af9d8126e3fff0d8078 (diff) | |
Update interface to allow more modes of iteration
It's now possible to iterate over:
- all keys in the range min_value ..= max_value, with `iterate_all`
- all set keys in the bit array, with `iterate_set`
- all unset keys in the range min_value ..= max_value, with `iterate_unset`
`Bit_Array` now stores the `max_value` provided during construction, and
updates it when a key that was previously out of range is set.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions