2022-03-25 17:24:26 +01:00
|
|
|
# Minimal clang-format version is 11
|
2020-12-12 19:09:31 +01:00
|
|
|
|
|
|
|
BasedOnStyle: GNU
|
|
|
|
UseTab: Always
|
|
|
|
SpaceAfterCStyleCast: true
|
2017-06-12 06:49:33 +02:00
|
|
|
SortIncludes: false
|
2020-12-12 19:09:31 +01:00
|
|
|
AlignConsecutiveMacros: true
|
|
|
|
BreakBeforeTernaryOperators: false
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
ContinuationIndentWidth: 2
|
|
|
|
|
|
|
|
ForEachMacros:
|
|
|
|
- 'clib_bitmap_foreach'
|
|
|
|
- 'pool_foreach'
|
|
|
|
- 'pool_foreach_index'
|
|
|
|
- 'vec_foreach'
|
|
|
|
- 'vec_foreach_backwards'
|
|
|
|
- 'vec_foreach_index'
|
|
|
|
- 'vec_foreach_index_backwards'
|
|
|
|
- 'vlib_foreach_rx_tx'
|
2021-03-26 11:38:01 +01:00
|
|
|
- 'foreach_vlib_main'
|
2022-01-13 00:28:14 +01:00
|
|
|
- 'foreach_set_bit_index'
|
2022-01-05 14:51:50 +01:00
|
|
|
- 'RTE_ETH_FOREACH_DEV'
|
2020-12-12 19:09:31 +01:00
|
|
|
|
2021-04-25 10:46:26 +02:00
|
|
|
StatementMacros:
|
|
|
|
- 'CLIB_MULTIARCH_FN'
|
|
|
|
- 'VLIB_NODE_FN'
|
|
|
|
- 'VNET_DEVICE_CLASS_TX_FN'
|
|
|
|
- '__clib_section'
|
|
|
|
- '__clib_aligned'
|
2022-03-25 17:24:26 +01:00
|
|
|
|
|
|
|
WhitespaceSensitiveMacros:
|
|
|
|
- 'WARN_ON'
|
|
|
|
- 'WARN_OFF'
|