Debian Codegraph @

.clang-format

raw
1 BasedOnStyle: LLVM
2 TabWidth: 8
3 UseTab: ForIndentation
4 BreakBeforeBraces: Attach
5 #BreakStringLiterals: true
6 IndentWidth: 8
7 AlignAfterOpenBracket: Align
8 ColumnLimit: 90
9 #ExperimentalAutoDetectBinPacking: true
10 BinPackArguments: true
11 BinPackParameters: true
12 #ReflowComments: true
13 AlignTrailingComments: true
14 SpacesBeforeTrailingComments: 8
15 SpaceBeforeAssignmentOperators: true
16 SpaceBeforeParens: ControlStatements
17 AllowShortIfStatementsOnASingleLine: false
18 AllowShortCaseLabelsOnASingleLine: true
19 AllowShortFunctionsOnASingleLine: false
20 IndentCaseLabels: false
21 IndentPPDirectives: None
22 PenaltyReturnTypeOnItsOwnLine: 0
23 PenaltyBreakAssignment: 0
24 PenaltyBreakBeforeFirstCallParameter: 1
25 PenaltyBreakComment: 1
26 PenaltyBreakString: 36
27 PenaltyExcessCharacter: 3
28 PenaltyBreakFirstLessLess: 0
29 PenaltyBreakTemplateDeclaration: 0
30 BreakBeforeBinaryOperators: None
31 IncludeCategories:
32 - Regex: '<.*\.h>'
33 Priority: 1
34 - Regex: '".*\.h"'
35 Priority: 2
36 SortIncludes: true
37 #ForEachMacros: [ list_for_each_entry, list_for_each_entry_safe, HASH_ITER ]
38 #AlignConsecutiveAssignments: true