blob: 6fc84ef10b2543b16495b11a22f6683cd21b7e32 [file] [log] [blame]
Luca Saccarola8bc4d252024-11-19 22:53:12 +01001---
2Language: Cpp
3AccessModifierOffset: -4
4AlignAfterOpenBracket: Align
5AlignArrayOfStructures: None
6AlignConsecutiveAssignments:
7 Enabled: false
8 AcrossEmptyLines: false
9 AcrossComments: false
10 AlignCompound: false
11 AlignFunctionPointers: false
12 PadOperators: false
13AlignConsecutiveBitFields:
14 Enabled: false
15 AcrossEmptyLines: false
16 AcrossComments: false
17 AlignCompound: false
18 AlignFunctionPointers: false
19 PadOperators: false
20AlignConsecutiveDeclarations:
21 Enabled: false
22 AcrossEmptyLines: false
23 AcrossComments: false
24 AlignCompound: false
25 AlignFunctionPointers: false
26 PadOperators: false
27AlignConsecutiveMacros:
28 Enabled: false
29 AcrossEmptyLines: false
30 AcrossComments: false
31 AlignCompound: false
32 AlignFunctionPointers: false
33 PadOperators: false
34AlignConsecutiveShortCaseStatements:
35 Enabled: false
36 AcrossEmptyLines: false
37 AcrossComments: false
38 AlignCaseColons: false
39AlignEscapedNewlines: DontAlign
40AlignOperands: Align
41AlignTrailingComments:
42 Kind: Leave
43 OverEmptyLines: 0
44AllowAllArgumentsOnNextLine: false
45AllowAllParametersOfDeclarationOnNextLine: false
46AllowBreakBeforeNoexceptSpecifier: Never
47AllowShortBlocksOnASingleLine: Never
48AllowShortCaseLabelsOnASingleLine: false
49AllowShortCompoundRequirementOnASingleLine: true
50AllowShortEnumsOnASingleLine: false
51AllowShortFunctionsOnASingleLine: None
52AllowShortIfStatementsOnASingleLine: Never
53AllowShortLambdasOnASingleLine: None
54AllowShortLoopsOnASingleLine: false
55AlwaysBreakAfterDefinitionReturnType: All
56AlwaysBreakAfterReturnType: AllDefinitions
57AlwaysBreakBeforeMultilineStrings: false
58AlwaysBreakTemplateDeclarations: MultiLine
59BinPackArguments: true
60BinPackParameters: false
61BitFieldColonSpacing: Both
62BraceWrapping:
63 AfterCaseLabel: true
64 AfterClass: true
65 AfterControlStatement: Always
66 AfterEnum: true
67 AfterExternBlock: true
68 AfterFunction: true
69 AfterNamespace: true
70 AfterObjCDeclaration: true
71 AfterStruct: true
72 AfterUnion: true
73 BeforeCatch: true
74 BeforeElse: true
75 BeforeLambdaBody: false
76 BeforeWhile: true
77 IndentBraces: false
78 SplitEmptyFunction: true
79 SplitEmptyRecord: true
80 SplitEmptyNamespace: true
81BreakAdjacentStringLiterals: true
82BreakAfterAttributes: Leave
83BreakAfterJavaFieldAnnotations: false
84BreakArrays: true
85BreakBeforeBinaryOperators: None
86BreakBeforeConceptDeclarations: Always
87BreakBeforeBraces: Custom
88BreakBeforeInlineASMColon: OnlyMultiline
89BreakBeforeTernaryOperators: true
90BreakConstructorInitializers: BeforeColon
91BreakInheritanceList: BeforeColon
92BreakStringLiterals: true
93ColumnLimit: 80
94CommentPragmas: '^ IWYU pragma:'
95CompactNamespaces: false
96ConstructorInitializerIndentWidth: 4
97ContinuationIndentWidth: 4
98Cpp11BracedListStyle: false
99DerivePointerAlignment: false
100DisableFormat: false
101EmptyLineAfterAccessModifier: Never
102EmptyLineBeforeAccessModifier: LogicalBlock
103ExperimentalAutoDetectBinPacking: false
104FixNamespaceComments: false
105IfMacros:
106 - KJ_IF_MAYBE
107IncludeBlocks: Preserve
108IncludeCategories:
109 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
110 Priority: 2
111 SortPriority: 0
112 CaseSensitive: false
113 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
114 Priority: 3
115 SortPriority: 0
116 CaseSensitive: false
117 - Regex: '.*'
118 Priority: 1
119 SortPriority: 0
120 CaseSensitive: false
121IncludeIsMainRegex: '(Test)?$'
122IncludeIsMainSourceRegex: ''
123IndentAccessModifiers: false
124IndentCaseBlocks: false
125IndentCaseLabels: true
126IndentExternBlock: AfterExternBlock
127IndentGotoLabels: true
128IndentPPDirectives: AfterHash
129IndentRequiresClause: true
130IndentWidth: 4
131IndentWrappedFunctionNames: false
132InsertBraces: false
133InsertNewlineAtEOF: false
134InsertTrailingCommas: None
135IntegerLiteralSeparator:
136 Binary: 0
137 BinaryMinDigits: 0
138 Decimal: 0
139 DecimalMinDigits: 0
140 Hex: 0
141 HexMinDigits: 0
142JavaScriptQuotes: Leave
143JavaScriptWrapImports: true
144KeepEmptyLinesAtTheStartOfBlocks: true
145KeepEmptyLinesAtEOF: false
146LambdaBodyIndentation: Signature
147LineEnding: DeriveLF
148MacroBlockBegin: ''
149MacroBlockEnd: ''
150MaxEmptyLinesToKeep: 1
151NamespaceIndentation: None
152ObjCBinPackProtocolList: Auto
153ObjCBlockIndentWidth: 4
154ObjCBreakBeforeNestedBlockParam: true
155ObjCSpaceAfterProperty: false
156ObjCSpaceBeforeProtocolList: true
157PackConstructorInitializers: BinPack
158PenaltyBreakAssignment: 4
159PenaltyBreakBeforeFirstCallParameter: 19
160PenaltyBreakComment: 1000000000
161PenaltyBreakFirstLessLess: 120
162PenaltyBreakOpenParenthesis: 0
163PenaltyBreakScopeResolution: 500
164PenaltyBreakString: 1000
165PenaltyBreakTemplateDeclaration: 10
166PenaltyExcessCharacter: 1000000
167PenaltyIndentedWhitespace: 0
168PenaltyReturnTypeOnItsOwnLine: 60
169PointerAlignment: Right
170PPIndentWidth: 1
171QualifierAlignment: Leave
172ReferenceAlignment: Pointer
173ReflowComments: false
174RemoveBracesLLVM: false
175RemoveParentheses: Leave
176RemoveSemicolon: false
177RequiresClausePosition: OwnLine
178RequiresExpressionIndentation: OuterScope
179SeparateDefinitionBlocks: Leave
180ShortNamespaceLines: 1
181SkipMacroDefinitionBody: false
182SortIncludes: CaseSensitive
183SortJavaStaticImport: Before
184SortUsingDeclarations: LexicographicNumeric
185SpaceAfterCStyleCast: false
186SpaceAfterLogicalNot: false
187SpaceAfterTemplateKeyword: true
188SpaceAroundPointerQualifiers: Default
189SpaceBeforeAssignmentOperators: true
190SpaceBeforeCaseColon: false
191SpaceBeforeCpp11BracedList: false
192SpaceBeforeCtorInitializerColon: true
193SpaceBeforeInheritanceColon: true
194SpaceBeforeJsonColon: false
195SpaceBeforeParens: ControlStatementsExceptControlMacros
196SpaceBeforeRangeBasedForLoopColon: true
197SpaceBeforeSquareBrackets: false
198SpaceInEmptyBlock: false
199SpacesBeforeTrailingComments: 1
200SpacesInAngles: Never
201SpacesInContainerLiterals: true
202SpacesInLineCommentPrefix:
203 Minimum: 1
204 Maximum: -1
205SpacesInParens: Never
206SpacesInParensOptions:
207 InCStyleCasts: false
208 InConditionalStatements: false
209 InEmptyParentheses: false
210 Other: false
211SpacesInSquareBrackets: false
212Standard: c++03
213TabWidth: 8
214UseTab: Never
215VerilogBreakBetweenInstancePorts: true
216WhitespaceSensitiveMacros:
217 - BOOST_PP_STRINGIZE
218 - CF_SWIFT_NAME
219 - NS_SWIFT_NAME
220 - PP_STRINGIZE
221 - STRINGIZE
222
223# Taken from:
224# git grep '^#define *FOR_*' src | cut -d':' -f2 | grep -o '[A-Z]*_.*(' \
225# | tr -d '(' | LC_ALL=C sort -u
226ForEachMacros:
227 - 'FOR_ALL_AUTOCMD_PATTERNS'
228 - 'FOR_ALL_BUFFERS'
229 - 'FOR_ALL_BUFS_FROM_LAST'
230 - 'FOR_ALL_BUF_WININFO'
231 - 'FOR_ALL_CHANNELS'
232 - 'FOR_ALL_CHILD_MENUS'
233 - 'FOR_ALL_DIFFBLOCKS_IN_TAB'
234 - 'FOR_ALL_FRAMES'
235 - 'FOR_ALL_HASHTAB_ITEMS'
236 - 'FOR_ALL_JOBS'
237 - 'FOR_ALL_LIST_ITEMS'
238 - 'FOR_ALL_MENUS'
239 - 'FOR_ALL_NODE_SIBLINGS'
240 - 'FOR_ALL_POPUPWINS'
241 - 'FOR_ALL_POPUPWINS_IN_TAB'
242 - 'FOR_ALL_QFL_ITEMS'
243 - 'FOR_ALL_SIGNS'
244 - 'FOR_ALL_SIGNS_IN_BUF'
245 - 'FOR_ALL_SPELL_LANGS'
246 - 'FOR_ALL_SYNSTATES'
247 - 'FOR_ALL_TABPAGES'
248 - 'FOR_ALL_TAB_WINDOWS'
249 - 'FOR_ALL_TERMS'
250 - 'FOR_ALL_TIMERS'
251 - 'FOR_ALL_WATCHERS'
252 - 'FOR_ALL_WINDOWS'
253 - 'FOR_ALL_WINDOWS_IN_TAB'
254...