summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-05-20 23:52:16 +0200
committerRenato Westphal <renato@opensourcerouting.org>2019-05-21 21:00:19 +0200
commit156d4463e4631016a854a3d6a918ebdbd7ea8635 (patch)
tree108a2cec1cce02032550d07068ac8ecee32e404d /.clang-format
parenttests: update list of headers in the cxx compat test (diff)
downloadfrr-156d4463e4631016a854a3d6a918ebdbd7ea8635.tar.xz
frr-156d4463e4631016a854a3d6a918ebdbd7ea8635.zip
clang-format: update the ForEachMacros setting
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format3
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index a65a29f8c..4bd962747 100644
--- a/.clang-format
+++ b/.clang-format
@@ -25,6 +25,9 @@ CommentPragmas: '\$(FRR|clippy)'
ContinuationIndentWidth: 8
ForEachMacros:
# lib
+ - frr_each
+ - frr_each_safe
+ - frr_each_from
- LIST_FOREACH
- LIST_FOREACH_SAFE
- SLIST_FOREACH