Debian Codegraph @

.clang-format

raw
1 # requires clang-tidy version 6.0+
2 ---
3 AccessModifierOffset: -4
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveAssignments: true
6 AlignConsecutiveDeclarations: true
7 AlignEscapedNewlinesLeft: false
8 AlignOperands: true
9 AlignTrailingComments: true
10 AllowShortCaseLabelsOnASingleLine: true
11 AllowShortFunctionsOnASingleLine: All
12 AllowShortIfStatementsOnASingleLine: false
13 AllowShortLoopsOnASingleLine: false
14 AlwaysBreakAfterDefinitionReturnType: TopLevel
15 AlwaysBreakAfterReturnType: TopLevel
16 AlwaysBreakBeforeMultilineStrings: false
17 AlwaysBreakTemplateDeclarations: true
18 BasedOnStyle: Mozilla
19 BinPackArguments: true
20 BinPackParameters: true
21 BraceWrapping:
22 AfterClass: true
23 AfterControlStatement: true
24 AfterEnum: true
25 AfterFunction: true
26 AfterNamespace: true
27 AfterStruct: true
28 AfterUnion: true
29 AfterExternBlock: true
30 BeforeCatch: false
31 BeforeElse: true
32 IndentBraces: false
33 SplitEmptyFunction: false
34 SplitEmptyRecord: false
35 SplitEmptyNamespace: false
36 BreakBeforeBraces: Custom
37 BreakBeforeInheritanceComma: true
38 ColumnLimit: 90
39 CompactNamespaces: true
40 ConstructorInitializerAllOnOneLineOrOnePerLine: false
41 ConstructorInitializerIndentWidth: 0
42 ContinuationIndentWidth: 4
43 FixNamespaceComments: true
44 IndentCaseLabels: true
45 IndentPPDirectives: AfterHash
46 IndentWidth: 4
47 KeepEmptyLinesAtTheStartOfBlocks: false
48 Language: Cpp
49 PointerAlignment: Left
50 SortIncludes: true
51 SortUsingDeclarations: true
52 SpaceAfterCStyleCast: true
53 SpaceAfterTemplateKeyword: true
54 SpaceBeforeAssignmentOperators: true
55 SpaceBeforeParens: false
56 SpaceInEmptyParentheses: false
57 SpacesBeforeTrailingComments: 2
58 SpacesInAngles: false
59 SpacesInContainerLiterals: true
60 SpacesInParentheses: false
61 SpacesInSquareBrackets: false
62 Standard: Cpp11
63 TabWidth: 4
64 UseTab: Never
65 ...