]> git.proxmox.com Git - mirror_frr.git/blame - .clang-format
*: add indent control files
[mirror_frr.git] / .clang-format
CommitLineData
888ac268
DL
1---
2BasedOnStyle: LLVM
3Language: Cpp
4IndentWidth: 8
5UseTab: Always
6BreakBeforeBraces: Linux
7AlwaysBreakBeforeMultilineStrings: true
8AllowShortIfStatementsOnASingleLine: false
9AllowShortLoopsOnASingleLine: false
10AllowShortFunctionsOnASingleLine: false
11IndentCaseLabels: false
12AlignEscapedNewlinesLeft: false
13AlignTrailingComments: true
14AllowAllParametersOfDeclarationOnNextLine: false
15AlignAfterOpenBracket: true
16SpaceAfterCStyleCast: false
17MaxEmptyLinesToKeep: 2
18BreakBeforeBinaryOperators: NonAssignment
19BreakStringLiterals: false
20SortIncludes: false
21IncludeCategories:
22 - Regex: '^(<|lib)'
23 Priority: 0
24CommentPragmas: '\$(FRR|clippy)'
25ContinuationIndentWidth: 8