X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=.clang-format;h=654577d936a8ac5e9e349b48a6f0e96fb35a7249;hb=f94ed830df98218447f00b97f856de811bfcc4a2;hp=cc5a95baf6a9d70ba87afe27395d02c46d630886;hpb=81dadaca1a07ce26b41576093c9ac3dd33ffab66;p=mirror_frr.git diff --git a/.clang-format b/.clang-format index cc5a95baf..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 @@ -43,6 +48,10 @@ ForEachMacros: - 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