Debian Codegraph @

.clang-format

raw
1 ---
2 BasedOnStyle: LLVM
3 Standard: c++20
4
5 AllowShortFunctionsOnASingleLine: All
6 AllowShortLambdasOnASingleLine: All
7 AlwaysBreakAfterReturnType: TopLevelDefinitions
8 BinPackArguments: false
9 BinPackParameters: false
10 BreakConstructorInitializers: AfterColon
11 BreakStringLiterals: false
12 ColumnLimit: 0
13 ConstructorInitializerAllOnOneLineOrOnePerLine: false
14 ContinuationIndentWidth: 2
15 Cpp11BracedListStyle: false
16 IndentCaseLabels: false
17 IndentWidth: 2
18 PackConstructorInitializers: Never
19 PenaltyReturnTypeOnItsOwnLine: 130
20 PointerAlignment: Left
21 SpacesInContainerLiterals: true
22
23 AlignEscapedNewlines: Right
24 AlignConsecutiveDeclarations:
25 Enabled: true
26 AcrossEmptyLines: true
27 AcrossComments: false
28 AlignConsecutiveMacros:
29 Enabled: true
30 AlignConsecutiveAssignments:
31 Enabled: true
32
33 IncludeCategories:
34 - Regex: "^(config|globals)\\.h"
35 Priority: -1
36 - Regex: "^torrent/.*"
37 Priority: 1