Debian Codegraph @

.clang-format

raw
1 Language: Cpp
2 AccessModifierOffset: -4
3 AlignAfterOpenBracket: Align
4 AlignConsecutiveAssignments: true
5 AlignConsecutiveDeclarations: false
6 AlignEscapedNewlines: Left
7 AlignOperands: true
8 AlignTrailingComments: true
9 AllowAllParametersOfDeclarationOnNextLine: true
10 AllowShortBlocksOnASingleLine: true
11 AllowShortCaseLabelsOnASingleLine: false
12 AllowShortFunctionsOnASingleLine: Inline
13 AllowShortIfStatementsOnASingleLine: false
14 AllowShortLoopsOnASingleLine: false
15 AllowShortEnumsOnASingleLine: false
16 AlwaysBreakAfterDefinitionReturnType: None
17 AlwaysBreakBeforeMultilineStrings: true
18 AlwaysBreakTemplateDeclarations: true
19 BinPackArguments: true
20 BinPackParameters: true
21 BraceWrapping:
22 AfterClass: false
23 AfterControlStatement: false
24 AfterEnum: false
25 AfterFunction: false
26 AfterNamespace: false
27 AfterObjCDeclaration: false
28 AfterStruct: false
29 AfterUnion: false
30 BeforeCatch: true
31 BeforeElse: true
32 IndentBraces: false
33 SplitEmptyFunction: true
34 SplitEmptyRecord: true
35 SplitEmptyNamespace: true
36 BreakAfterReturnType: Automatic
37 BreakBeforeBinaryOperators: None
38 BreakBeforeBraces: Custom
39 BreakBeforeInheritanceComma: false
40 BreakBeforeTernaryOperators: true
41 BreakConstructorInitializersBeforeComma: false
42 BreakConstructorInitializers: AfterColon
43 BreakAfterJavaFieldAnnotations: false
44 BreakStringLiterals: true
45 ColumnLimit: 120
46 CommentPragmas: '^ IWYU pragma:'
47 CompactNamespaces: false
48 ConstructorInitializerAllOnOneLineOrOnePerLine: true
49 ConstructorInitializerIndentWidth: 4
50 ContinuationIndentWidth: 4
51 Cpp11BracedListStyle: true
52 DerivePointerAlignment: false
53 DisableFormat: false
54 ExperimentalAutoDetectBinPacking: false
55 EmptyLineBeforeAccessModifier: Always
56 EmptyLineAfterAccessModifier: Always
57 FixNamespaceComments: true
58 ForEachMacros:
59 - foreach
60 - Q_FOREACH
61 - BOOST_FOREACH
62 IncludeCategories:
63 - Regex: '^<.*\.h>'
64 Priority: 1
65 - Regex: '^<.*'
66 Priority: 2
67 - Regex: '.*'
68 Priority: 3
69 IncludeIsMainRegex: '([-_](test|unittest))?$'
70 IndentCaseLabels: true
71 IndentWidth: 4
72 IndentWrappedFunctionNames: false
73 KeepEmptyLinesAtTheStartOfBlocks: true
74 MacroBlockBegin: ''
75 MacroBlockEnd: ''
76 MaxEmptyLinesToKeep: 2
77 NamespaceIndentation: None
78 PenaltyBreakAssignment: 2
79 PenaltyBreakBeforeFirstCallParameter: 1
80 PenaltyBreakComment: 300
81 PenaltyBreakFirstLessLess: 120
82 PenaltyBreakString: 1000
83 PenaltyExcessCharacter: 1000000
84 PenaltyReturnTypeOnItsOwnLine: 200
85 PointerAlignment: Left
86 ReflowComments: true
87 SortIncludes: true
88 SortUsingDeclarations: true
89 SpaceAfterCStyleCast: false
90 SpaceAfterTemplateKeyword: true
91 SpaceBeforeAssignmentOperators: true
92 SpaceBeforeParens: ControlStatements
93 SpaceInEmptyParentheses: false
94 SpacesBeforeTrailingComments: 2
95 SpacesInAngles: false
96 SpacesInContainerLiterals: true
97 SpacesInCStyleCastParentheses: false
98 SpacesInParentheses: false
99 SpacesInSquareBrackets: false
100 Standard: Auto
101 TabWidth: 4
102 UseTab: Never