]> git.proxmox.com Git - mirror_frr.git/blobdiff - .clang-format
Merge pull request #5793 from ton31337/fix/formatting_show_bgp_summary_failed
[mirror_frr.git] / .clang-format
index 21fe9d7c5e570b85d5f68d0c94f37b73f054b516..654577d936a8ac5e9e349b48a6f0e96fb35a7249 100644 (file)
@@ -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
@@ -57,3 +66,5 @@ ForEachMacros:
   - SUBGRP_FOREACH_ADJ_SAFE
   - AF_FOREACH
   - FOREACH_AFI_SAFI
+  # ospfd
+  - LSDB_LOOP