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