Debian Codegraph @

.clang-format

raw
1 ---
2 Language: Cpp
3 # BasedOnStyle: Google
4 AccessModifierOffset: -1
5 AlignAfterOpenBracket: AlwaysBreak
6 AlignArrayOfStructures: Right
7 AlignConsecutiveMacros: Consecutive
8 AlignConsecutiveAssignments: None
9 AlignConsecutiveBitFields: None
10 AlignConsecutiveDeclarations: None
11 AlignEscapedNewlines: Left
12 AlignOperands: Align
13 AlignTrailingComments: true
14 AllowAllArgumentsOnNextLine: true
15 AllowAllParametersOfDeclarationOnNextLine: true
16 AllowShortEnumsOnASingleLine: true
17 AllowShortBlocksOnASingleLine: Never
18 AllowShortCaseLabelsOnASingleLine: false
19 AllowShortFunctionsOnASingleLine: All
20 AllowShortLambdasOnASingleLine: All
21 AllowShortIfStatementsOnASingleLine: WithoutElse
22 AllowShortLoopsOnASingleLine: true
23 AlwaysBreakAfterDefinitionReturnType: None
24 AlwaysBreakAfterReturnType: None
25 AlwaysBreakBeforeMultilineStrings: true
26 AlwaysBreakTemplateDeclarations: Yes
27 AttributeMacros:
28 - __capability
29 BinPackArguments: true
30 BinPackParameters: false
31 BraceWrapping:
32 AfterCaseLabel: false
33 AfterClass: false
34 AfterControlStatement: Never
35 AfterEnum: false
36 AfterFunction: false
37 AfterNamespace: false
38 AfterObjCDeclaration: false
39 AfterStruct: false
40 AfterUnion: false
41 AfterExternBlock: false
42 BeforeCatch: false
43 BeforeElse: false
44 BeforeLambdaBody: false
45 BeforeWhile: false
46 IndentBraces: false
47 SplitEmptyFunction: true
48 SplitEmptyRecord: true
49 SplitEmptyNamespace: true
50 BreakBeforeBinaryOperators: None
51 BreakBeforeConceptDeclarations: true
52 BreakBeforeBraces: Allman
53 BreakBeforeInheritanceComma: false
54 BreakInheritanceList: AfterColon
55 BreakBeforeTernaryOperators: true
56 BreakConstructorInitializersBeforeComma: false
57 BreakConstructorInitializers: AfterColon
58 BreakAfterJavaFieldAnnotations: false
59 BreakStringLiterals: true
60 ColumnLimit: 100
61 CommentPragmas: '^ IWYU pragma:'
62 QualifierAlignment: Leave
63 CompactNamespaces: false
64 ConstructorInitializerIndentWidth: 4
65 ContinuationIndentWidth: 4
66 Cpp11BracedListStyle: true
67 DeriveLineEnding: true
68 DerivePointerAlignment: true
69 DisableFormat: false
70 EmptyLineAfterAccessModifier: Never
71 EmptyLineBeforeAccessModifier: LogicalBlock
72 ExperimentalAutoDetectBinPacking: false
73 PackConstructorInitializers: NextLine
74 BasedOnStyle: ''
75 ConstructorInitializerAllOnOneLineOrOnePerLine: false
76 AllowAllConstructorInitializersOnNextLine: true
77 FixNamespaceComments: true
78 ForEachMacros:
79 - foreach
80 - Q_FOREACH
81 - BOOST_FOREACH
82 IfMacros:
83 - KJ_IF_MAYBE
84 IncludeBlocks: Regroup
85 IncludeCategories:
86 - Regex: '^<ext/.*\.h>'
87 Priority: 2
88 SortPriority: 0
89 CaseSensitive: false
90 - Regex: '^<.*\.h>'
91 Priority: 1
92 SortPriority: 0
93 CaseSensitive: false
94 - Regex: '^<.*'
95 Priority: 2
96 SortPriority: 0
97 CaseSensitive: false
98 - Regex: '.*'
99 Priority: 3
100 SortPriority: 0
101 CaseSensitive: false
102 IncludeIsMainRegex: '([-_](test|unittest))?$'
103 IncludeIsMainSourceRegex: ''
104 IndentAccessModifiers: false
105 IndentCaseLabels: true
106 IndentCaseBlocks: false
107 IndentGotoLabels: true
108 IndentPPDirectives: None
109 IndentExternBlock: AfterExternBlock
110 IndentRequires: false
111 IndentWidth: 2
112 IndentWrappedFunctionNames: false
113 InsertTrailingCommas: None
114 JavaScriptQuotes: Leave
115 JavaScriptWrapImports: true
116 KeepEmptyLinesAtTheStartOfBlocks: false
117 LambdaBodyIndentation: Signature
118 MacroBlockBegin: ''
119 MacroBlockEnd: ''
120 MaxEmptyLinesToKeep: 1
121 NamespaceIndentation: None
122 ObjCBinPackProtocolList: Never
123 ObjCBlockIndentWidth: 2
124 ObjCBreakBeforeNestedBlockParam: true
125 ObjCSpaceAfterProperty: false
126 ObjCSpaceBeforeProtocolList: true
127 PenaltyBreakAssignment: 2
128 PenaltyBreakBeforeFirstCallParameter: 1
129 PenaltyBreakComment: 300
130 PenaltyBreakFirstLessLess: 120
131 PenaltyBreakOpenParenthesis: 0
132 PenaltyBreakString: 1000
133 PenaltyBreakTemplateDeclaration: 10
134 PenaltyExcessCharacter: 1000000
135 PenaltyReturnTypeOnItsOwnLine: 200
136 PenaltyIndentedWhitespace: 0
137 PointerAlignment: Left
138 PPIndentWidth: -1
139 RawStringFormats:
140 - Language: Cpp
141 Delimiters:
142 - cc
143 - CC
144 - cpp
145 - Cpp
146 - CPP
147 - 'c++'
148 - 'C++'
149 CanonicalDelimiter: ''
150 BasedOnStyle: google
151 - Language: TextProto
152 Delimiters:
153 - pb
154 - PB
155 - proto
156 - PROTO
157 EnclosingFunctions:
158 - EqualsProto
159 - EquivToProto
160 - PARSE_PARTIAL_TEXT_PROTO
161 - PARSE_TEST_PROTO
162 - PARSE_TEXT_PROTO
163 - ParseTextOrDie
164 - ParseTextProtoOrDie
165 - ParseTestProto
166 - ParsePartialTestProto
167 CanonicalDelimiter: pb
168 BasedOnStyle: google
169 ReferenceAlignment: Pointer
170 ReflowComments: true
171 RemoveBracesLLVM: false
172 SeparateDefinitionBlocks: Leave
173 ShortNamespaceLines: 1
174 SortIncludes: CaseSensitive
175 SortJavaStaticImport: Before
176 SortUsingDeclarations: true
177 SpaceAfterCStyleCast: false
178 SpaceAfterLogicalNot: false
179 SpaceAfterTemplateKeyword: true
180 SpaceBeforeAssignmentOperators: true
181 SpaceBeforeCaseColon: false
182 SpaceBeforeCpp11BracedList: false
183 SpaceBeforeCtorInitializerColon: true
184 SpaceBeforeInheritanceColon: true
185 SpaceBeforeParens: ControlStatements
186 SpaceBeforeParensOptions:
187 AfterControlStatements: true
188 AfterForeachMacros: true
189 AfterFunctionDefinitionName: false
190 AfterFunctionDeclarationName: false
191 AfterIfMacros: true
192 AfterOverloadedOperator: false
193 BeforeNonEmptyParentheses: false
194 SpaceAroundPointerQualifiers: Default
195 SpaceBeforeRangeBasedForLoopColon: true
196 SpaceInEmptyBlock: false
197 SpaceInEmptyParentheses: false
198 SpacesBeforeTrailingComments: 2
199 SpacesInAngles: Never
200 SpacesInConditionalStatement: false
201 SpacesInContainerLiterals: true
202 SpacesInCStyleCastParentheses: false
203 SpacesInLineCommentPrefix:
204 Minimum: 1
205 Maximum: -1
206 SpacesInParentheses: false
207 SpacesInSquareBrackets: false
208 SpaceBeforeSquareBrackets: false
209 BitFieldColonSpacing: Both
210 Standard: Auto
211 StatementAttributeLikeMacros:
212 - Q_EMIT
213 StatementMacros:
214 - Q_UNUSED
215 - QT_REQUIRE_VERSION
216 TabWidth: 2
217 UseCRLF: false
218 UseTab: Never
219 WhitespaceSensitiveMacros:
220 - STRINGIZE
221 - PP_STRINGIZE
222 - BOOST_PP_STRINGIZE
223 - NS_SWIFT_NAME
224 - CF_SWIFT_NAME
225 ...
226