]> git.puffer.fish Git - matthieu/frr.git/commit
tools: import latest linux clang-format config w/ FRR mods
authorChristian Hopps <chopps@labn.net>
Wed, 21 Jun 2023 13:32:39 +0000 (09:32 -0400)
committerChristian Hopps <chopps@labn.net>
Thu, 22 Jun 2023 04:56:04 +0000 (00:56 -0400)
commit2615fefaa9e56c5e291a6e938f5be6a3158c71da
treef79496b6437bc7811ffca67f3fac1857229fd70b
parentfd8a8b759629003d98d03b4ab5e5f8ef7cd0768e
tools: import latest linux clang-format config w/ FRR mods

We modify the following from Linux Style:

    AlignEscapedNewlines: Left -> Right
    AlignTrailingComments: false -> true
    AlignConsecutiveMacros: false -> true
    ForEachMacros (replace linux with ours)

Don't break a string into multi-string-fragments

    PenaltyBreakString: 200

Allow going past the ColumnLimit to keep function arguments aligned
with the open parenthesis.

    PenaltyBreakBeforeFirstCallParameter: 200

Signed-off-by: Christian Hopps <chopps@labn.net>
.clang-format