Debian Codegraph @

.clang-format

raw
1 Language: Cpp
2 AlignAfterOpenBracket: Align
3 AlignConsecutiveAssignments: false
4 AlignConsecutiveDeclarations: false
5 AlignEscapedNewlines: Right
6 AlignOperands: true
7 AlignTrailingComments: true
8 AllowAllParametersOfDeclarationOnNextLine: true
9 AllowShortBlocksOnASingleLine: false
10 AllowShortCaseLabelsOnASingleLine: false
11 AllowShortFunctionsOnASingleLine: Inline
12 AllowShortIfStatementsOnASingleLine: false
13 AllowShortLoopsOnASingleLine: false
14 AlwaysBreakAfterDefinitionReturnType: TopLevel
15 AlwaysBreakAfterReturnType: TopLevel
16 AlwaysBreakBeforeMultilineStrings: true
17 AlwaysBreakTemplateDeclarations: true
18 BinPackArguments: true
19 BinPackParameters: true
20 BreakBeforeBinaryOperators: None
21 BreakBeforeBraces: WebKit
22 BreakBeforeTernaryOperators: false
23 BreakStringLiterals: false
24 ColumnLimit: 80
25 ContinuationIndentWidth: 8
26 ConstructorInitializerAllOnOneLineOrOnePerLine: true
27 DerivePointerAlignment: false
28 DisableFormat: false
29 ExperimentalAutoDetectBinPacking: false
30 IncludeCategories:
31 - Regex: '^<.*\.h>'
32 Priority: 1
33 - Regex: '^<.*'
34 Priority: 2
35 - Regex: '.*'
36 Priority: 3
37 IncludeIsMainRegex: '([-_](test|unittest))?$'
38 IndentCaseLabels: true
39 IndentWidth: 4
40 IndentWrappedFunctionNames: false
41 KeepEmptyLinesAtTheStartOfBlocks: false
42 MacroBlockBegin: ''
43 MacroBlockEnd: ''
44 MaxEmptyLinesToKeep: 2
45 NamespaceIndentation: None
46 PenaltyBreakBeforeFirstCallParameter: 1
47 PenaltyBreakComment: 300
48 PenaltyBreakString: 1000
49 PenaltyExcessCharacter: 1000000
50 PenaltyReturnTypeOnItsOwnLine: 0
51 PointerAlignment: Left
52 ReflowComments: false
53 SortIncludes: true
54 SpaceAfterCStyleCast: true
55 SpaceBeforeAssignmentOperators: true
56 SpaceBeforeParens: ControlStatements
57 SpaceInEmptyParentheses: false
58 SpacesBeforeTrailingComments: 2
59 SpacesInCStyleCastParentheses: false
60 SpacesInParentheses: false
61 SpacesInSquareBrackets: false
62 TabWidth: 8
63 UseTab: Never