diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-05-22 15:48:18 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-08-08 23:01:20 +0200 |
commit | 8519fe88c9fc6a3e217148fd2edd8d815269ec8a (patch) | |
tree | 695b271bffeacbc56e27d00a15d60f6b6c8c5fed /.clang-format | |
parent | Merge pull request #2790 from lyq140/branch1 (diff) | |
download | frr-8519fe88c9fc6a3e217148fd2edd8d815269ec8a.tar.xz frr-8519fe88c9fc6a3e217148fd2edd8d815269ec8a.zip |
lib: import new JSON iteration macro
Save a few lines when iterating over JSON objects using the new
JSON_FOREACH macro.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index cc5a95baf..3c6a2784c 100644 --- a/.clang-format +++ b/.clang-format @@ -43,6 +43,7 @@ ForEachMacros: - SPLAY_FOREACH - FOR_ALL_INTERFACES - FOR_ALL_INTERFACES_ADDRESSES + - JSON_FOREACH # zebra - RE_DEST_FOREACH_ROUTE - RE_DEST_FOREACH_ROUTE_SAFE |