]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_updgrp_packet.c
*: use clang's 'ForEachMacros' format style option
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 15 Sep 2017 15:47:35 +0000 (12:47 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 15 Sep 2017 17:53:46 +0000 (14:53 -0300)
commita2addae8fe172f04f4d8ac99aa123a7d2dd64604
treec58663b6654a9bec64ac4c26e11d158fd48b34ad
parent461b76e4ed82f3bb3f71499cfb2025959affca9b
*: use clang's 'ForEachMacros' format style option

This fixes the broken indentation of several foreach loops throughout
the code.

From clang's documentation[1]:
  ForEachMacros: A vector of macros that should be interpreted as foreach
  loops instead of as function calls.

[1] http://clang.llvm.org/docs/ClangFormatStyleOptions.html

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
42 files changed:
.clang-format
bgpd/bgp_advertise.c
bgpd/bgp_nht.c
bgpd/bgp_route.c
bgpd/bgp_updgrp.c
bgpd/bgp_updgrp_adv.c
bgpd/bgp_updgrp_packet.c
bgpd/bgpd.c
isisd/isis_tlvs.c
lib/if.c
lib/ns.c
lib/vrf.c
lib/workqueue.c
pimd/pim_bfd.c
pimd/pim_cmd.c
pimd/pim_iface.c
pimd/pim_ifchannel.c
pimd/pim_instance.c
pimd/pim_vty.c
pimd/pim_zebra.c
pimd/pimd.c
tools/start-stop-daemon.c
zebra/interface.c
zebra/irdp_main.c
zebra/main.c
zebra/redistribute.c
zebra/router-id.c
zebra/rt_netlink.c
zebra/rtadv.c
zebra/zebra_fpm.c
zebra/zebra_l2.c
zebra/zebra_mpls.c
zebra/zebra_ptm.c
zebra/zebra_pw.c
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_routemap.c
zebra/zebra_snmp.c
zebra/zebra_static.c
zebra/zebra_vrf.c
zebra/zebra_vty.c
zebra/zserv.c