Debian Codegraph @

.clang-format

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