Debian Codegraph @

.clang-format

raw
1 # clang-format 13
2
3 Language: Cpp
4 Standard: c++20
5
6 AccessModifierOffset: -4 #?
7 AlignAfterOpenBracket: AlwaysBreak
8 AlignArrayOfStructures: Left
9 AlignConsecutiveAssignments: false
10 AlignConsecutiveBitFields: false
11 AlignConsecutiveDeclarations: false
12 AlignConsecutiveMacros: true
13 AlignEscapedNewlines: DontAlign
14 AlignOperands: AlignAfterOperator
15 AlignTrailingComments: true
16 AllowAllArgumentsOnNextLine: true
17 AllowAllConstructorInitializersOnNextLine: true
18 AllowAllParametersOfDeclarationOnNextLine: true
19 AllowShortBlocksOnASingleLine: Always
20 AllowShortCaseLabelsOnASingleLine: true
21 AllowShortEnumsOnASingleLine: false
22 AllowShortFunctionsOnASingleLine: Inline
23 AllowShortIfStatementsOnASingleLine: WithoutElse
24 AllowShortLambdasOnASingleLine: Inline
25 AllowShortLoopsOnASingleLine: false
26 AlwaysBreakAfterReturnType: None
27 AlwaysBreakBeforeMultilineStrings: true
28 AlwaysBreakTemplateDeclarations: Yes
29 BinPackArguments: true
30 BinPackParameters: false
31 BitFieldColonSpacing: Both
32 BraceWrapping:
33 AfterCaseLabel: true
34 AfterClass: true
35 AfterControlStatement: Always
36 AfterEnum: true
37 AfterFunction: true
38 AfterNamespace: true
39 #AfterObjCDeclaration
40 AfterStruct: true
41 AfterUnion: true
42 AfterExternBlock: true
43 BeforeCatch: false
44 BeforeElse: false
45 BeforeLambdaBody: true
46 BeforeWhile: false
47 IndentBraces: false
48 SplitEmptyFunction: true
49 SplitEmptyRecord: true
50 SplitEmptyNamespace: true
51 #BreakAfterJavaFieldAnnotations
52 BreakBeforeBinaryOperators: NonAssignment
53 BreakBeforeBraces: Custom
54 BreakBeforeConceptDeclarations: true
55 BreakBeforeTernaryOperators: true
56 BreakConstructorInitializers: BeforeComma
57 BreakInheritanceList: BeforeComma
58 BreakStringLiterals: false
59 ColumnLimit: 0
60 CommentPragmas: '' #?
61 CompactNamespaces: false
62 ConstructorInitializerAllOnOneLineOrOnePerLine: true
63 ConstructorInitializerIndentWidth: 4 #?
64 ContinuationIndentWidth: 4 #?
65 Cpp11BracedListStyle: true
66 DeriveLineEnding: true
67 DerivePointerAlignment: false
68 EmptyLineAfterAccessModifier: Leave
69 EmptyLineBeforeAccessModifier: Leave
70 FixNamespaceComments: true
71 ForEachMacros: []
72 IfMacros: ['MPT_MAYBE_CONSTANT_IF']
73 IncludeBlocks: Preserve
74 IncludeCategories: [] #?
75 IncludeIsMainRegex: '' #?
76 IncludeIsMainSourceRegex: '' #?
77 IndentAccessModifiers: false
78 IndentCaseBlocks: true
79 IndentCaseLabels: true
80 IndentExternBlock: NoIndent
81 IndentGotoLabels: false
82 IndentPPDirectives: None
83 #IndentRequiresClause: true
84 #BeforeHash
85 IndentWidth: 4
86 IndentWrappedFunctionNames: true
87 InsertTrailingCommas: None
88 #JavaImportGroups
89 #JavaScriptQuotes
90 #JavaScriptWrapImports
91 KeepEmptyLinesAtTheStartOfBlocks: true
92 LambdaBodyIndentation: OuterScope
93 MacroBlockBegin: '^MPT_TEST_GROUP_BEGIN|BEGIN_MESSAGE_MAP$' #?
94 MacroBlockEnd: '^MPT_TEST_GROUP_END|END_MESSAGE_MAP$' #?
95 MaxEmptyLinesToKeep: 5
96 NamespaceIndentation: None
97 NamespaceMacros: [] #?
98 #ObjCBinPackProtocolList
99 #ObjCBlockIndentWidth
100 #ObjCBreakBeforeNestedBlockParam
101 #ObjCSpaceAfterProperty
102 #ObjCSpaceBeforeProtocolList
103 PackConstructorInitializers: Never
104 #PenaltyBreakAssignment
105 #PenaltyBreakBeforeFirstCallParameter
106 #PenaltyBreakComment
107 #PenaltyBreakFirstLessLess
108 #PenaltyBreakOpenParenthesis
109 #PenaltyBreakString
110 #PenaltyBreakTemplateDeclaration
111 #PenaltyExcessCharacter
112 #PenaltyIndentedWhitespace
113 #PenaltyReturnTypeOnItsOwnLine
114 PointerAlignment: Right
115 PPIndentWidth: -1
116 QualifierAlignment: Leave
117 #QualifierOrder: ['static', 'inline', 'constexpr', 'volatile', 'const', 'restrict', 'type']
118 #RawStringFormats
119 ReferenceAlignment: Pointer
120 ReflowComments: false
121 RemoveBracesLLVM: false
122 SeparateDefinitionBlocks: Leave
123 ShortNamespaceLines: 1
124 SortIncludes: false
125 #SortJavaStaticImport
126 SortUsingDeclarations: true
127 SpaceAfterCStyleCast: false
128 SpaceAfterLogicalNot: false
129 SpaceAfterTemplateKeyword: true
130 SpaceAroundPointerQualifiers: Default
131 SpaceBeforeAssignmentOperators: true
132 SpaceBeforeCaseColon: false
133 SpaceBeforeCpp11BracedList: false
134 SpaceBeforeCtorInitializerColon: true
135 SpaceBeforeInheritanceColon: true
136 SpaceBeforeParens: Never
137 SpaceBeforeParensOptions:
138 AfterControlStatements: false
139 AfterForeachMacros: false
140 AfterFunctionDeclarationName: false
141 AfterFunctionDefinitionName: false
142 AfterIfMacros: false
143 AfterOverloadedOperator: false
144 #AfterRequiresInClause: false
145 #AfterRequiresInExpression: false
146 BeforeNonEmptyParentheses: false
147 SpaceBeforeRangeBasedForLoopColon: true
148 SpaceBeforeSquareBrackets: false
149 SpaceInEmptyBlock: false
150 SpaceInEmptyParentheses: false
151 SpacesBeforeTrailingComments: 2
152 SpacesInAngles: false
153 SpacesInCStyleCastParentheses: false
154 SpacesInConditionalStatement: false
155 SpacesInContainerLiterals: false
156 SpacesInLineCommentPrefix:
157 Minimum: 1
158 Maximum: -1
159 SpacesInParentheses: false
160 SpacesInSquareBrackets: false
161 StatementAttributeLikeMacros: []
162 StatementMacros: [ 'OPENMPT_NAMESPACE_BEGIN', 'OPENMPT_NAMESPACE_END', 'MPT_MSVC_WORKAROUND_LNK4221', 'MPT_WARNING', 'MPT_TEST_GROUP_INLINE_IDENTIFIER', 'MPT_TEST_GROUP_INLINE', 'MPT_TEST_GROUP_STATIC' ] #?
163 TabWidth: 4
164 TypenameMacros: [] #?
165 UseCRLF: false
166 UseTab: ForContinuationAndIndentation
167 WhitespaceSensitiveMacros:
168 - MPT_PP_STRINGIFY