diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-03-09 14:26:05 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-03-12 13:23:36 +0100 | 
| commit | 643ea83be2997d3c77ab53e2c2a8f5b87fbac64a (patch) | |
| tree | b2e37163a9daefa6309f2935df49e2715c3909ca /.clang-format | |
| parent | 9d888674b2d2009e0f749c449a2a94a834d0160d (diff) | |
lib: add `_last` and `_prev` on typesafe RB/DLIST
RB-tree and double-linked-list easily support backwards iteration, and
an use case seems to have popped up.  Let's make it accessible.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index a620b5c2c0..b01157b051 100644 --- a/.clang-format +++ b/.clang-format @@ -28,6 +28,9 @@ ForEachMacros:    - frr_each    - frr_each_safe    - frr_each_from +  - frr_rev_each +  - frr_rev_each_safe +  - frr_rev_each_from    - frr_with_mutex    - frr_with_privs    - LIST_FOREACH  | 
