# Re: \[PATCH iproute2-next\] clang-format: add configuration file

- From: David Ahern \<hidden\>
- Date: 2019-01-17 21:42:52 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/01/11122004
- Thread: https://ratatoskr.run/netdev/2019/01/11121951/t.md

```text
On 1/17/19 8:08 AM, Leon Romanovsky wrote:
> From: Leon Romanovsky <redacted>
> 
> The codebase of iproute2 follows Linux kernel coding style,
> so it will be very helpful to reuse existing clang configuration
> file to reliably format code.
> 
> For more information see kernel commit d4ef8d3ff005
> ("clang-format: add configuration file").
> 
> Updated upto commit v5.0-rc1 with small number of ForEachMacros.
> 
> Signed-off-by: Leon Romanovsky <redacted>
> ---
>  .clang-format | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 130 insertions(+)
>  create mode 100644 .clang-format
> 

applied to iproute2-next. Thanks


```
