X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=.clang-format;h=654577d936a8ac5e9e349b48a6f0e96fb35a7249;hb=6c6959e811232821967087ab2cab50cddfe59bfa;hp=2710d844e9c85ff1291d801fb3d978d2297419a0;hpb=5c4dc90307b3718ea5f9ed093b994d0c586d370a;p=mirror_frr.git diff --git a/.clang-format b/.clang-format index 2710d844e..654577d93 100644 --- a/.clang-format +++ b/.clang-format @@ -25,6 +25,11 @@ CommentPragmas: '\$(FRR|clippy)' ContinuationIndentWidth: 8 ForEachMacros: # lib + - frr_each + - frr_each_safe + - frr_each_from + - frr_with_mutex + - frr_with_privs - LIST_FOREACH - LIST_FOREACH_SAFE - SLIST_FOREACH @@ -41,6 +46,12 @@ ForEachMacros: - RB_FOREACH_REVERSE - RB_FOREACH_REVERSE_SAFE - SPLAY_FOREACH + - FOR_ALL_INTERFACES + - FOR_ALL_INTERFACES_ADDRESSES + - JSON_FOREACH + # libyang + - LY_TREE_FOR + - LY_TREE_DFS_BEGIN # zebra - RE_DEST_FOREACH_ROUTE - RE_DEST_FOREACH_ROUTE_SAFE @@ -55,3 +66,5 @@ ForEachMacros: - SUBGRP_FOREACH_ADJ_SAFE - AF_FOREACH - FOREACH_AFI_SAFI + # ospfd + - LSDB_LOOP