session: optimize ct fifo segment allocations
[vpp.git] / .clang-format
1 # Minimal clang-format version is 8
2
3 BasedOnStyle: GNU
4 UseTab: Always
5 SpaceAfterCStyleCast: true
6 SortIncludes: false
7 AlignConsecutiveMacros: true
8 BreakBeforeTernaryOperators: false
9 BreakBeforeBinaryOperators: None
10 ContinuationIndentWidth: 2
11
12 ForEachMacros:
13   - 'clib_bitmap_foreach'
14   - 'pool_foreach'
15   - 'pool_foreach_index'
16   - 'vec_foreach'
17   - 'vec_foreach_backwards'
18   - 'vec_foreach_index'
19   - 'vec_foreach_index_backwards'
20   - 'vlib_foreach_rx_tx'
21   - 'foreach_vlib_main'
22
23 StatementMacros:
24   - 'CLIB_MULTIARCH_FN'
25   - 'VLIB_NODE_FN'
26   - 'VNET_DEVICE_CLASS_TX_FN'
27   - '__clib_section'
28   - '__clib_aligned'