Debian Codegraph @

.clang-format

raw
1 ---
2 Language: Cpp
3 # BasedOnStyle: Google
4 AccessModifierOffset: -1
5 AlignAfterOpenBracket: Align
6 AlignConsecutiveMacros: None
7 AlignConsecutiveAssignments: None
8 AlignConsecutiveBitFields: None
9 AlignConsecutiveDeclarations: None
10 AlignEscapedNewlines: Left
11 AlignOperands: Align
12 AlignTrailingComments: true
13 AllowAllArgumentsOnNextLine: true
14 AllowAllConstructorInitializersOnNextLine: 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: true
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: Attach
53 BreakBeforeInheritanceComma: false
54 BreakInheritanceList: BeforeColon
55 BreakBeforeTernaryOperators: true
56 BreakConstructorInitializersBeforeComma: false
57 BreakConstructorInitializers: BeforeColon
58 BreakAfterJavaFieldAnnotations: false
59 BreakStringLiterals: true
60 ColumnLimit: 80
61 CommentPragmas: '^ IWYU pragma:'
62 CompactNamespaces: false
63 ConstructorInitializerAllOnOneLineOrOnePerLine: true
64 ConstructorInitializerIndentWidth: 4
65 ContinuationIndentWidth: 4
66 Cpp11BracedListStyle: true
67 DeriveLineEnding: true
68 DerivePointerAlignment: true
69 DisableFormat: false
70 EmptyLineBeforeAccessModifier: LogicalBlock
71 ExperimentalAutoDetectBinPacking: false
72 FixNamespaceComments: true
73 ForEachMacros:
74 - foreach
75 - Q_FOREACH
76 - BOOST_FOREACH
77 StatementAttributeLikeMacros:
78 - Q_EMIT
79 IncludeBlocks: Regroup
80 IncludeCategories:
81 - Regex: '^<ext/.*\.h>'
82 Priority: 2
83 SortPriority: 0
84 CaseSensitive: false
85 - Regex: '^<.*\.h>'
86 Priority: 1
87 SortPriority: 0
88 CaseSensitive: false
89 - Regex: '^<.*'
90 Priority: 2
91 SortPriority: 0
92 CaseSensitive: false
93 - Regex: '.*'
94 Priority: 3
95 SortPriority: 0
96 CaseSensitive: false
97 IncludeIsMainRegex: '([-_](test|unittest))?$'
98 IncludeIsMainSourceRegex: ''
99 IndentCaseLabels: true
100 IndentCaseBlocks: false
101 IndentGotoLabels: true
102 IndentPPDirectives: None
103 IndentExternBlock: AfterExternBlock
104 IndentRequires: false
105 IndentWidth: 2
106 IndentWrappedFunctionNames: false
107 InsertTrailingCommas: None
108 JavaScriptQuotes: Leave
109 JavaScriptWrapImports: true
110 KeepEmptyLinesAtTheStartOfBlocks: false
111 MacroBlockBegin: ''
112 MacroBlockEnd: ''
113 MaxEmptyLinesToKeep: 1
114 NamespaceIndentation: None
115 ObjCBinPackProtocolList: Never
116 ObjCBlockIndentWidth: 2
117 ObjCBreakBeforeNestedBlockParam: true
118 ObjCSpaceAfterProperty: false
119 ObjCSpaceBeforeProtocolList: true
120 PenaltyBreakAssignment: 2
121 PenaltyBreakBeforeFirstCallParameter: 1
122 PenaltyBreakComment: 300
123 PenaltyBreakFirstLessLess: 120
124 PenaltyBreakString: 1000
125 PenaltyBreakTemplateDeclaration: 10
126 PenaltyExcessCharacter: 1000000
127 PenaltyReturnTypeOnItsOwnLine: 200
128 PenaltyIndentedWhitespace: 0
129 PointerAlignment: Left
130 RawStringFormats:
131 - Language: Cpp
132 Delimiters:
133 - cc
134 - CC
135 - cpp
136 - Cpp
137 - CPP
138 - 'c++'
139 - 'C++'
140 CanonicalDelimiter: ''
141 BasedOnStyle: google
142 - Language: TextProto
143 Delimiters:
144 - pb
145 - PB
146 - proto
147 - PROTO
148 EnclosingFunctions:
149 - EqualsProto
150 - EquivToProto
151 - PARSE_PARTIAL_TEXT_PROTO
152 - PARSE_TEST_PROTO
153 - PARSE_TEXT_PROTO
154 - ParseTextOrDie
155 - ParseTextProtoOrDie
156 - ParseTestProto
157 - ParsePartialTestProto
158 CanonicalDelimiter: ''
159 BasedOnStyle: google
160 ReflowComments: true
161 SortIncludes: true
162 SortJavaStaticImport: Before
163 SortUsingDeclarations: true
164 SpaceAfterCStyleCast: false
165 SpaceAfterLogicalNot: false
166 SpaceAfterTemplateKeyword: true
167 SpaceBeforeAssignmentOperators: true
168 SpaceBeforeCaseColon: false
169 SpaceBeforeCpp11BracedList: false
170 SpaceBeforeCtorInitializerColon: true
171 SpaceBeforeInheritanceColon: true
172 SpaceBeforeParens: ControlStatements
173 SpaceAroundPointerQualifiers: Default
174 SpaceBeforeRangeBasedForLoopColon: true
175 SpaceInEmptyBlock: false
176 SpaceInEmptyParentheses: false
177 SpacesBeforeTrailingComments: 2
178 SpacesInAngles: false
179 SpacesInConditionalStatement: false
180 SpacesInContainerLiterals: true
181 SpacesInCStyleCastParentheses: false
182 SpacesInParentheses: false
183 SpacesInSquareBrackets: false
184 SpaceBeforeSquareBrackets: false
185 BitFieldColonSpacing: Both
186 Standard: Auto
187 StatementMacros:
188 - Q_UNUSED
189 - QT_REQUIRE_VERSION
190 TabWidth: 8
191 UseCRLF: false
192 UseTab: Never
193 WhitespaceSensitiveMacros:
194 - STRINGIZE
195 - PP_STRINGIZE
196 - BOOST_PP_STRINGIZE
197 - NS_SWIFT_NAME
198 - CF_SWIFT_NAME
199 ...
200