X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=.clang-format;h=2265e96857be6bedff194ff98c0d650b5c4e6d45;hb=dcd08b278fe366e43decbf1c1029f979985cb37b;hp=8b5c955cedef1ca58bcd51dd205cc670607f9126;hpb=942542f7c1c3aae62a88612b8702a45f0d3b0e35;p=vpp.git diff --git a/.clang-format b/.clang-format index 8b5c955cede..2265e96857b 100644 --- a/.clang-format +++ b/.clang-format @@ -18,4 +18,13 @@ ForEachMacros: - 'vec_foreach_index' - 'vec_foreach_index_backwards' - 'vlib_foreach_rx_tx' + - 'foreach_vlib_main' + - 'foreach_set_bit_index' + - 'RTE_ETH_FOREACH_DEV' +StatementMacros: + - 'CLIB_MULTIARCH_FN' + - 'VLIB_NODE_FN' + - 'VNET_DEVICE_CLASS_TX_FN' + - '__clib_section' + - '__clib_aligned'