Debian Codegraph @

.clang-format

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