Damjan Marion | 942542f | 2020-12-12 19:09:31 +0100 | [diff] [blame] | 1 | # Minimal clang-format version is 8 |
| 2 | |
| 3 | BasedOnStyle: GNU |
| 4 | UseTab: Always |
| 5 | SpaceAfterCStyleCast: true |
Klement Sekera | dc15be2 | 2017-06-12 06:49:33 +0200 | [diff] [blame] | 6 | SortIncludes: false |
Damjan Marion | 942542f | 2020-12-12 19:09:31 +0100 | [diff] [blame] | 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' |
Damjan Marion | 92ccf9b | 2021-03-26 11:38:01 +0100 | [diff] [blame] | 21 | - 'foreach_vlib_main' |
Damjan Marion | 942542f | 2020-12-12 19:09:31 +0100 | [diff] [blame] | 22 | |
Damjan Marion | 23c3488 | 2021-04-25 10:46:26 +0200 | [diff] [blame] | 23 | StatementMacros: |
| 24 | - 'CLIB_MULTIARCH_FN' |
| 25 | - 'VLIB_NODE_FN' |
| 26 | - 'VNET_DEVICE_CLASS_TX_FN' |
| 27 | - '__clib_section' |
| 28 | - '__clib_aligned' |