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

From
David Ahern <hidden>
Date
2019-01-17 21:42:52
Also in
linux-rdma
Reply to
Leon Romanovsky, 2019-01-17
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

Thread (2 messages) 2 messages, 2 authors, last reply 2019-01-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help