Debian Codegraph @

.clang-format

raw
1 ---
2 Language: Cpp
3 # BasedOnStyle: Mozilla
4 AccessModifierOffset: -2
5 AlignAfterOpenBracket: Align
6 AlignArrayOfStructures: None
7 AlignConsecutiveMacros: None
8 AlignConsecutiveAssignments: None
9 AlignConsecutiveBitFields: None
10 AlignConsecutiveDeclarations: None
11 AlignEscapedNewlines: Right
12 AlignOperands: Align
13 AlignTrailingComments: true
14 AllowAllArgumentsOnNextLine: true
15 AllowAllConstructorInitializersOnNextLine: true
16 AllowAllParametersOfDeclarationOnNextLine: false
17 AllowShortEnumsOnASingleLine: true
18 AllowShortBlocksOnASingleLine: Never
19 AllowShortCaseLabelsOnASingleLine: false
20 AllowShortFunctionsOnASingleLine: Inline
21 AllowShortLambdasOnASingleLine: All
22 AllowShortIfStatementsOnASingleLine: Never
23 AllowShortLoopsOnASingleLine: false
24 AlwaysBreakAfterDefinitionReturnType: TopLevel
25 AlwaysBreakAfterReturnType: TopLevel
26 AlwaysBreakBeforeMultilineStrings: false
27 AlwaysBreakTemplateDeclarations: Yes
28 AttributeMacros:
29 - __capability
30 BinPackArguments: false
31 BinPackParameters: false
32 BraceWrapping:
33 AfterCaseLabel: false
34 AfterClass: true
35 AfterControlStatement: Never
36 AfterEnum: true
37 AfterFunction: true
38 AfterNamespace: false
39 AfterObjCDeclaration: false
40 AfterStruct: true
41 AfterUnion: true
42 AfterExternBlock: true
43 BeforeCatch: false
44 BeforeElse: false
45 BeforeLambdaBody: false
46 BeforeWhile: false
47 IndentBraces: false
48 SplitEmptyFunction: true
49 SplitEmptyRecord: false
50 SplitEmptyNamespace: true
51 BreakBeforeBinaryOperators: None
52 BreakBeforeConceptDeclarations: true
53 BreakBeforeBraces: Mozilla
54 BreakBeforeInheritanceComma: false
55 BreakInheritanceList: BeforeComma
56 BreakBeforeTernaryOperators: true
57 BreakConstructorInitializersBeforeComma: false
58 BreakConstructorInitializers: BeforeComma
59 BreakAfterJavaFieldAnnotations: false
60 BreakStringLiterals: true
61 ColumnLimit: 80
62 CommentPragmas: '^ IWYU pragma:'
63 CompactNamespaces: false
64 ConstructorInitializerAllOnOneLineOrOnePerLine: false
65 ConstructorInitializerIndentWidth: 2
66 ContinuationIndentWidth: 2
67 Cpp11BracedListStyle: false
68 DeriveLineEnding: true
69 DerivePointerAlignment: false
70 DisableFormat: false
71 EmptyLineAfterAccessModifier: Never
72 EmptyLineBeforeAccessModifier: LogicalBlock
73 ExperimentalAutoDetectBinPacking: false
74 FixNamespaceComments: false
75 ForEachMacros:
76 - foreach
77 - Q_FOREACH
78 - BOOST_FOREACH
79 IfMacros:
80 - KJ_IF_MAYBE
81 IncludeBlocks: Preserve
82 IncludeCategories:
83 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
84 Priority: 2
85 SortPriority: 0
86 CaseSensitive: false
87 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
88 Priority: 3
89 SortPriority: 0
90 CaseSensitive: false
91 - Regex: '.*'
92 Priority: 1
93 SortPriority: 0
94 CaseSensitive: false
95 IncludeIsMainRegex: '(Test)?$'
96 IncludeIsMainSourceRegex: ''
97 IndentAccessModifiers: false
98 IndentCaseLabels: true
99 IndentCaseBlocks: false
100 IndentGotoLabels: true
101 IndentPPDirectives: None
102 IndentExternBlock: AfterExternBlock
103 IndentRequires: false
104 IndentWidth: 2
105 IndentWrappedFunctionNames: false
106 InsertTrailingCommas: None
107 JavaScriptQuotes: Leave
108 JavaScriptWrapImports: true
109 KeepEmptyLinesAtTheStartOfBlocks: true
110 LambdaBodyIndentation: Signature
111 MacroBlockBegin: ''
112 MacroBlockEnd: ''
113 MaxEmptyLinesToKeep: 1
114 NamespaceIndentation: None
115 ObjCBinPackProtocolList: Auto
116 ObjCBlockIndentWidth: 2
117 ObjCBreakBeforeNestedBlockParam: true
118 ObjCSpaceAfterProperty: true
119 ObjCSpaceBeforeProtocolList: false
120 PenaltyBreakAssignment: 2
121 PenaltyBreakBeforeFirstCallParameter: 19
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 PPIndentWidth: -1
131 ReferenceAlignment: Pointer
132 ReflowComments: true
133 ShortNamespaceLines: 1
134 SortIncludes: CaseSensitive
135 SortJavaStaticImport: Before
136 SortUsingDeclarations: true
137 SpaceAfterCStyleCast: false
138 SpaceAfterLogicalNot: false
139 SpaceAfterTemplateKeyword: false
140 SpaceBeforeAssignmentOperators: true
141 SpaceBeforeCaseColon: false
142 SpaceBeforeCpp11BracedList: false
143 SpaceBeforeCtorInitializerColon: true
144 SpaceBeforeInheritanceColon: true
145 SpaceBeforeParens: ControlStatements
146 SpaceAroundPointerQualifiers: Default
147 SpaceBeforeRangeBasedForLoopColon: true
148 SpaceInEmptyBlock: false
149 SpaceInEmptyParentheses: false
150 SpacesBeforeTrailingComments: 1
151 SpacesInAngles: Never
152 SpacesInConditionalStatement: false
153 SpacesInContainerLiterals: true
154 SpacesInCStyleCastParentheses: false
155 SpacesInLineCommentPrefix:
156 Minimum: 1
157 Maximum: -1
158 SpacesInParentheses: false
159 SpacesInSquareBrackets: false
160 SpaceBeforeSquareBrackets: false
161 BitFieldColonSpacing: Both
162 Standard: Latest
163 StatementAttributeLikeMacros:
164 - Q_EMIT
165 StatementMacros:
166 - Q_UNUSED
167 - QT_REQUIRE_VERSION
168 TabWidth: 8
169 UseCRLF: false
170 UseTab: Never
171 WhitespaceSensitiveMacros:
172 - STRINGIZE
173 - PP_STRINGIZE
174 - BOOST_PP_STRINGIZE
175 - NS_SWIFT_NAME
176 - CF_SWIFT_NAME
177 ...
178