test
.clang-format
.clang-tidy
CMakeLists.txt
FEATURE.yaml
LICENSE
README.md
lcpng.c
lcpng.h
lcpng.rst
lcpng_adj.c
lcpng_adj.h
lcpng_if.api
lcpng_if_api.c
lcpng_if_cli.c
lcpng_if_node.c
lcpng_if_sync.c
lcpng_interface.c
lcpng_interface.h
lcpng_netlink.c
lcpng_netlink.h
lcpng_nl_sync.c
29 lines
613 B
YAML
29 lines
613 B
YAML
# Minimal clang-format version is 8
|
|
|
|
BasedOnStyle: GNU
|
|
UseTab: Always
|
|
SpaceAfterCStyleCast: true
|
|
SortIncludes: false
|
|
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'
|
|
- 'foreach_vlib_main'
|
|
|
|
StatementMacros:
|
|
- 'CLIB_MULTIARCH_FN'
|
|
- 'VLIB_NODE_FN'
|
|
- 'VNET_DEVICE_CLASS_TX_FN'
|
|
- '__clib_section'
|
|
- '__clib_aligned'
|