robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #40325 from justinmk/cmdwindd5ebae7ac

master
147.6 KiB3771 linesraw
1# Uncrustify-0.81.0_f
2
3#
4# General options
5#
6
7# The type of line endings.
8#
9# Default: auto
10newlines                        = lf       # lf/crlf/cr/auto
11
12# The original size of tabs in the input.
13#
14# Default: 8
15input_tab_size                  = 8        # unsigned number
16
17# The size of tabs in the output (only used if align_with_tabs=true).
18#
19# Default: 8
20output_tab_size                 = 8        # unsigned number
21
22# The ASCII value of the string escape char, usually 92 (\) or (Pawn) 94 (^).
23#
24# Default: 92
25string_escape_char              = 92       # unsigned number
26
27# Alternate string escape char (usually only used for Pawn).
28# Only works right before the quote char.
29string_escape_char2             = 0        # unsigned number
30
31# Replace tab characters found in string literals with the escape sequence \t
32# instead.
33string_replace_tab_chars        = false    # true/false
34
35# Allow interpreting '>=' and '>>=' as part of a template in code like
36# 'void f(list<list<B>>=val);'. If true, 'assert(x<0 && y>=3)' will be broken.
37# Improvements to template detection may make this option obsolete.
38tok_split_gte                   = false    # true/false
39
40# Disable formatting of NL_CONT ('\\n') ended lines (e.g. multi-line macros).
41disable_processing_nl_cont      = false    # true/false
42
43# Specify the marker used in comments to disable processing of part of the
44# file.
45#
46# Default:  *INDENT-OFF*
47disable_processing_cmt          = "uncrustify:off"       # string
48
49# Specify the marker used in comments to (re)enable processing in a file.
50#
51# Default:  *INDENT-ON*
52enable_processing_cmt           = "uncrustify:on"      # string
53
54# Enable parsing of digraphs.
55enable_digraphs                 = false    # true/false
56
57# Option to allow both disable_processing_cmt and enable_processing_cmt
58# strings, if specified, to be interpreted as ECMAScript regular expressions.
59# If true, a regex search will be performed within comments according to the
60# specified patterns in order to disable/enable processing.
61processing_cmt_as_regex         = false    # true/false
62
63# Add or remove the UTF-8 BOM (recommend 'remove').
64utf8_bom                        = remove   # ignore/add/remove/force
65
66# If the file contains bytes with values between 128 and 255, but is not
67# UTF-8, then output as UTF-8.
68utf8_byte                       = false    # true/false
69
70# Force the output encoding to UTF-8.
71utf8_force                      = false    # true/false
72
73#
74# Spacing options
75#
76
77# Add or remove space around non-assignment symbolic operators ('+', '/', '%',
78# '<<', and so forth).
79sp_arith                        = ignore   # ignore/add/remove/force
80
81# Add or remove space around arithmetic operators '+' and '-'.
82#
83# Overrides sp_arith.
84sp_arith_additive               = force    # ignore/add/remove/force
85
86# Add or remove space around assignment operator '=', '+=', etc.
87sp_assign                       = force    # ignore/add/remove/force
88
89# Add or remove space around '=' in C++11 lambda capture specifications.
90#
91# Overrides sp_assign.
92sp_cpp_lambda_assign            = ignore   # ignore/add/remove/force
93
94# Add or remove space after the capture specification of a C++11 lambda when
95# an argument list is present, as in '[] <here> (int x){ ... }'.
96sp_cpp_lambda_square_paren      = ignore   # ignore/add/remove/force
97
98# Add or remove space after the capture specification of a C++11 lambda with
99# no argument list is present, as in '[] <here> { ... }'.
100sp_cpp_lambda_square_brace      = ignore   # ignore/add/remove/force
101
102# Add or remove space after the opening parenthesis and before the closing
103# parenthesis of a argument list of a C++11 lambda, as in
104# '[]( <here> ){ ... }'
105# with an empty list.
106sp_cpp_lambda_argument_list_empty = ignore   # ignore/add/remove/force
107
108# Add or remove space after the opening parenthesis and before the closing
109# parenthesis of a argument list of a C++11 lambda, as in
110# '[]( <here> int x <here> ){ ... }'.
111sp_cpp_lambda_argument_list     = ignore   # ignore/add/remove/force
112
113# Add or remove space after the argument list of a C++11 lambda, as in
114# '[](int x) <here> { ... }'.
115sp_cpp_lambda_paren_brace       = ignore   # ignore/add/remove/force
116
117# Add or remove space between a lambda body and its call operator of an
118# immediately invoked lambda, as in '[]( ... ){ ... } <here> ( ... )'.
119sp_cpp_lambda_fparen            = ignore   # ignore/add/remove/force
120
121# Add or remove space around assignment operator '=' in a prototype.
122#
123# If set to ignore, use sp_assign.
124sp_assign_default               = ignore   # ignore/add/remove/force
125
126# Add or remove space before assignment operator '=', '+=', etc.
127#
128# Overrides sp_assign.
129sp_before_assign                = ignore   # ignore/add/remove/force
130
131# Add or remove space after assignment operator '=', '+=', etc.
132#
133# Overrides sp_assign.
134sp_after_assign                 = ignore   # ignore/add/remove/force
135
136# Add or remove space in 'enum {'.
137#
138# Default: add
139sp_enum_brace                   = force    # ignore/add/remove/force
140
141# Add or remove space in 'NS_ENUM ('.
142sp_enum_paren                   = ignore   # ignore/add/remove/force
143
144# Add or remove space around assignment '=' in enum.
145sp_enum_assign                  = ignore   # ignore/add/remove/force
146
147# Add or remove space before assignment '=' in enum.
148#
149# Overrides sp_enum_assign.
150sp_enum_before_assign           = ignore   # ignore/add/remove/force
151
152# Add or remove space after assignment '=' in enum.
153#
154# Overrides sp_enum_assign.
155sp_enum_after_assign            = force    # ignore/add/remove/force
156
157# Add or remove space around assignment ':' in enum.
158sp_enum_colon                   = ignore   # ignore/add/remove/force
159
160# Add or remove space around preprocessor '##' concatenation operator.
161#
162# Default: add
163sp_pp_concat                    = remove   # ignore/add/remove/force
164
165# Add or remove space after preprocessor '#' stringify operator.
166# Also affects the '#@' charizing operator.
167sp_pp_stringify                 = remove   # ignore/add/remove/force
168
169# Add or remove space before preprocessor '#' stringify operator
170# as in '#define x(y) L#y'.
171sp_before_pp_stringify          = ignore   # ignore/add/remove/force
172
173# Add or remove space around boolean operators '&&' and '||'.
174sp_bool                         = force    # ignore/add/remove/force
175
176# Add or remove space around compare operator '<', '>', '==', etc.
177sp_compare                      = force    # ignore/add/remove/force
178
179# Add or remove space inside '(' and ')'.
180sp_inside_paren                 = remove   # ignore/add/remove/force
181
182# Add or remove space between nested parentheses, i.e. '((' vs. ') )'.
183sp_paren_paren                  = remove   # ignore/add/remove/force
184
185# Add or remove space between back-to-back parentheses, i.e. ')(' vs. ') ('.
186sp_cparen_oparen                = remove   # ignore/add/remove/force
187
188# Add or remove space between ')' and '{'.
189sp_paren_brace                  = ignore   # ignore/add/remove/force
190
191# Add or remove space between nested braces, i.e. '{{' vs. '{ {'.
192sp_brace_brace                  = ignore   # ignore/add/remove/force
193
194# Add or remove space before pointer star '*'.
195sp_before_ptr_star              = force    # ignore/add/remove/force
196
197# Add or remove space before pointer star '*' that isn't followed by a
198# variable name. If set to ignore, sp_before_ptr_star is used instead.
199sp_before_unnamed_ptr_star      = ignore   # ignore/add/remove/force
200
201# Add or remove space before pointer star '*' that is followed by a qualifier.
202# If set to ignore, sp_before_unnamed_ptr_star is used instead.
203sp_before_qualifier_ptr_star    = ignore   # ignore/add/remove/force
204
205# Add or remove space before pointer star '*' that is followed by 'operator' keyword.
206# If set to ignore, sp_before_unnamed_ptr_star is used instead.
207sp_before_operator_ptr_star     = ignore   # ignore/add/remove/force
208
209# Add or remove space before pointer star '*' that is followed by
210# a class scope (as in 'int *MyClass::method()') or namespace scope
211# (as in 'int *my_ns::func()').
212# If set to ignore, sp_before_unnamed_ptr_star is used instead.
213sp_before_scope_ptr_star        = ignore   # ignore/add/remove/force
214
215# Add or remove space before pointer star '*' that is followed by '::',
216# as in 'int *::func()'.
217# If set to ignore, sp_before_unnamed_ptr_star is used instead.
218sp_before_global_scope_ptr_star = ignore   # ignore/add/remove/force
219
220# Add or remove space between a qualifier and a pointer star '*' that isn't
221# followed by a variable name, as in '(char const *)'. If set to ignore,
222# sp_before_ptr_star is used instead.
223sp_qualifier_unnamed_ptr_star   = ignore   # ignore/add/remove/force
224
225# Add or remove space between pointer stars '*', as in 'int ***a;'.
226sp_between_ptr_star             = ignore   # ignore/add/remove/force
227
228# Add or remove space between pointer star '*' and reference '&', as in 'int *& a;'.
229sp_between_ptr_ref              = ignore   # ignore/add/remove/force
230
231# Add or remove space after pointer star '*', if followed by a word.
232#
233# Overrides sp_type_func.
234sp_after_ptr_star               = remove   # ignore/add/remove/force
235
236# Add or remove space after pointer caret '^', if followed by a word.
237sp_after_ptr_block_caret        = ignore   # ignore/add/remove/force
238
239# Add or remove space after pointer star '*', if followed by a qualifier.
240sp_after_ptr_star_qualifier     = ignore   # ignore/add/remove/force
241
242# Add or remove space after a pointer star '*', if followed by a function
243# prototype or function definition.
244#
245# Overrides sp_after_ptr_star and sp_type_func.
246sp_after_ptr_star_func          = remove   # ignore/add/remove/force
247
248# Add or remove space after a pointer star '*' in the trailing return of a
249# function prototype or function definition.
250sp_after_ptr_star_trailing      = ignore   # ignore/add/remove/force
251
252# Add or remove space between the pointer star '*' and the name of the variable
253# in a function pointer definition.
254sp_ptr_star_func_var            = ignore   # ignore/add/remove/force
255
256# Add or remove space between the pointer star '*' and the name of the type
257# in a function pointer type definition.
258sp_ptr_star_func_type           = ignore   # ignore/add/remove/force
259
260# Add or remove space after a pointer star '*', if followed by an open
261# parenthesis, as in 'void* (*)()'.
262sp_ptr_star_paren               = ignore   # ignore/add/remove/force
263
264# Add or remove space before a pointer star '*', if followed by a function
265# prototype or function definition. If set to ignore, sp_before_ptr_star is
266# used instead.
267sp_before_ptr_star_func         = ignore   # ignore/add/remove/force
268
269# Add or remove space between a qualifier and a pointer star '*' followed by
270# the name of the function in a function prototype or definition, as in
271# 'char const *foo()`. If set to ignore, sp_before_ptr_star is used instead.
272sp_qualifier_ptr_star_func      = ignore   # ignore/add/remove/force
273
274# Add or remove space before a pointer star '*' in the trailing return of a
275# function prototype or function definition.
276sp_before_ptr_star_trailing     = ignore   # ignore/add/remove/force
277
278# Add or remove space between a qualifier and a pointer star '*' in the
279# trailing return of a function prototype or function definition, as in
280# 'auto foo() -> char const *'.
281sp_qualifier_ptr_star_trailing  = ignore   # ignore/add/remove/force
282
283# Add or remove space before a reference sign '&'.
284sp_before_byref                 = ignore   # ignore/add/remove/force
285
286# Add or remove space before a reference sign '&' that isn't followed by a
287# variable name. If set to ignore, sp_before_byref is used instead.
288sp_before_unnamed_byref         = ignore   # ignore/add/remove/force
289
290# Add or remove space after reference sign '&', if followed by a word.
291#
292# Overrides sp_type_func.
293sp_after_byref                  = ignore   # ignore/add/remove/force
294
295# Add or remove space after a reference sign '&', if followed by a function
296# prototype or function definition.
297#
298# Overrides sp_after_byref and sp_type_func.
299sp_after_byref_func             = ignore   # ignore/add/remove/force
300
301# Add or remove space before a reference sign '&', if followed by a function
302# prototype or function definition.
303sp_before_byref_func            = ignore   # ignore/add/remove/force
304
305# Add or remove space after a reference sign '&', if followed by an open
306# parenthesis, as in 'char& (*)()'.
307sp_byref_paren                  = ignore   # ignore/add/remove/force
308
309# Add or remove space between type and word. In cases where total removal of
310# whitespace would be a syntax error, a value of 'remove' is treated the same
311# as 'force'.
312#
313# This also affects some other instances of space following a type that are
314# not covered by other options; for example, between the return type and
315# parenthesis of a function type template argument, between the type and
316# parenthesis of an array parameter, or between 'decltype(...)' and the
317# following word.
318#
319# Default: force
320sp_after_type                   = force    # ignore/add/remove/force
321
322# Add or remove space between 'decltype(...)' and word,
323# brace or function call.
324sp_after_decltype               = ignore   # ignore/add/remove/force
325
326# (D) Add or remove space before the parenthesis in the D constructs
327# 'template Foo(' and 'class Foo('.
328sp_before_template_paren        = ignore   # ignore/add/remove/force
329
330# Add or remove space between 'template' and '<'.
331# If set to ignore, sp_before_angle is used.
332sp_template_angle               = ignore   # ignore/add/remove/force
333
334# Add or remove space before '<'.
335sp_before_angle                 = ignore   # ignore/add/remove/force
336
337# Add or remove space inside '<' and '>'.
338sp_inside_angle                 = ignore   # ignore/add/remove/force
339
340# Add or remove space inside '<>'.
341# if empty.
342sp_inside_angle_empty           = ignore   # ignore/add/remove/force
343
344# Add or remove space between '>' and ':'.
345sp_angle_colon                  = ignore   # ignore/add/remove/force
346
347# Add or remove space after '>'.
348sp_after_angle                  = ignore   # ignore/add/remove/force
349
350# Add or remove space between '>' and '(' as found in 'new List<byte>(foo);'.
351sp_angle_paren                  = ignore   # ignore/add/remove/force
352
353# Add or remove space between '>' and '()' as found in 'new List<byte>();'.
354sp_angle_paren_empty            = ignore   # ignore/add/remove/force
355
356# Add or remove space between '>' and a word as in 'List<byte> m;' or
357# 'template <typename T> static ...'.
358sp_angle_word                   = ignore   # ignore/add/remove/force
359
360# Add or remove space between '>' and '>' in '>>' (template stuff).
361#
362# Default: add
363sp_angle_shift                  = add      # ignore/add/remove/force
364
365# (C++11) Permit removal of the space between '>>' in 'foo<bar<int> >'. Note
366# that sp_angle_shift cannot remove the space without this option.
367sp_permit_cpp11_shift           = false    # true/false
368
369# Add or remove space before '(' of control statements ('if', 'for', 'switch',
370# 'while', etc.).
371sp_before_sparen                = force    # ignore/add/remove/force
372
373# Add or remove space inside '(' and ')' of control statements other than
374# 'for'.
375sp_inside_sparen                = remove   # ignore/add/remove/force
376
377# Add or remove space after '(' of control statements other than 'for'.
378#
379# Overrides sp_inside_sparen.
380sp_inside_sparen_open           = ignore   # ignore/add/remove/force
381
382# Add or remove space before ')' of control statements other than 'for'.
383#
384# Overrides sp_inside_sparen.
385sp_inside_sparen_close          = ignore   # ignore/add/remove/force
386
387# Add or remove space inside '(' and ')' of 'for' statements.
388sp_inside_for                   = remove   # ignore/add/remove/force
389
390# Add or remove space after '(' of 'for' statements.
391#
392# Overrides sp_inside_for.
393sp_inside_for_open              = ignore   # ignore/add/remove/force
394
395# Add or remove space before ')' of 'for' statements.
396#
397# Overrides sp_inside_for.
398sp_inside_for_close             = ignore   # ignore/add/remove/force
399
400# Add or remove space between '((' or '))' of control statements.
401sp_sparen_paren                 = remove   # ignore/add/remove/force
402
403# Add or remove space after ')' of control statements.
404sp_after_sparen                 = ignore   # ignore/add/remove/force
405
406# Add or remove space between ')' and '{' of control statements.
407sp_sparen_brace                 = force    # ignore/add/remove/force
408
409# Add or remove space between 'do' and '{'.
410sp_do_brace_open                = force    # ignore/add/remove/force
411
412# Add or remove space between '}' and 'while'.
413sp_brace_close_while            = force    # ignore/add/remove/force
414
415# Add or remove space between 'while' and '('. Overrides sp_before_sparen.
416sp_while_paren_open             = ignore   # ignore/add/remove/force
417
418# (D) Add or remove space between 'invariant' and '('.
419sp_invariant_paren              = ignore   # ignore/add/remove/force
420
421# (D) Add or remove space after the ')' in 'invariant (C) c'.
422sp_after_invariant_paren        = ignore   # ignore/add/remove/force
423
424# Add or remove space before empty statement ';' on 'if', 'for' and 'while'.
425# examples:
426#   if (b) <here> ;
427#   for (a=1; a<10; a++) <here> ;
428#   while (*p++ = ' ') <here> ;
429sp_special_semi                 = ignore   # ignore/add/remove/force
430
431# Add or remove space before ';'.
432#
433# Default: remove
434sp_before_semi                  = remove   # ignore/add/remove/force
435
436# Add or remove space before ';' in non-empty 'for' statements.
437sp_before_semi_for              = remove   # ignore/add/remove/force
438
439# Add or remove space before a semicolon of an empty left part of a for
440# statement, as in 'for ( <here> ; ; )'.
441sp_before_semi_for_empty        = remove   # ignore/add/remove/force
442
443# Add or remove space between the semicolons of an empty middle part of a for
444# statement, as in 'for ( ; <here> ; )'.
445sp_between_semi_for_empty       = remove   # ignore/add/remove/force
446
447# Add or remove space after ';', except when followed by a comment.
448#
449# Default: add
450sp_after_semi                   = add      # ignore/add/remove/force
451
452# Add or remove space after ';' in non-empty 'for' statements.
453#
454# Default: force
455sp_after_semi_for               = force    # ignore/add/remove/force
456
457# Add or remove space after the final semicolon of an empty part of a for
458# statement, as in 'for ( ; ; <here> )'.
459sp_after_semi_for_empty         = remove   # ignore/add/remove/force
460
461# Add or remove space before '[' (except '[]').
462sp_before_square                = remove   # ignore/add/remove/force
463
464# Add or remove space before '[' for a variable definition.
465#
466# Default: remove
467sp_before_vardef_square         = remove   # ignore/add/remove/force
468
469# Add or remove space before '[' for asm block.
470sp_before_square_asm_block      = ignore   # ignore/add/remove/force
471
472# Add or remove space before '[]'.
473sp_before_squares               = remove   # ignore/add/remove/force
474
475# Add or remove space before C++17 structured bindings
476# after byref.
477sp_cpp_before_struct_binding_after_byref = ignore   # ignore/add/remove/force
478
479# Add or remove space before C++17 structured bindings.
480sp_cpp_before_struct_binding    = ignore   # ignore/add/remove/force
481
482# Add or remove space inside a non-empty '[' and ']'.
483sp_inside_square                = remove   # ignore/add/remove/force
484
485# Add or remove space inside '[]'.
486# if empty.
487sp_inside_square_empty          = ignore   # ignore/add/remove/force
488
489# (OC) Add or remove space inside a non-empty Objective-C boxed array '@[' and
490# ']'. If set to ignore, sp_inside_square is used.
491sp_inside_square_oc_array       = ignore   # ignore/add/remove/force
492
493# Add or remove space after ',', i.e. 'a,b' vs. 'a, b'.
494sp_after_comma                  = add      # ignore/add/remove/force
495
496# Add or remove space before ',', i.e. 'a,b' vs. 'a ,b'.
497#
498# Default: remove
499sp_before_comma                 = remove   # ignore/add/remove/force
500
501# (C#, Vala) Add or remove space between ',' and ']' in multidimensional array type
502# like 'int[,,]'.
503sp_after_mdatype_commas         = ignore   # ignore/add/remove/force
504
505# (C#, Vala) Add or remove space between '[' and ',' in multidimensional array type
506# like 'int[,,]'.
507sp_before_mdatype_commas        = ignore   # ignore/add/remove/force
508
509# (C#, Vala) Add or remove space between ',' in multidimensional array type
510# like 'int[,,]'.
511sp_between_mdatype_commas       = ignore   # ignore/add/remove/force
512
513# Add or remove space between an open parenthesis and comma,
514# i.e. '(,' vs. '( ,'.
515#
516# Default: force
517sp_paren_comma                  = force    # ignore/add/remove/force
518
519# Add or remove space between a type and ':'.
520sp_type_colon                   = ignore   # ignore/add/remove/force
521
522# Add or remove space after the variadic '...' when preceded by a
523# non-punctuator.
524# The value REMOVE will be overridden with FORCE
525sp_after_ellipsis               = ignore   # ignore/add/remove/force
526
527# Add or remove space before the variadic '...' when preceded by a
528# non-punctuator.
529# The value REMOVE will be overridden with FORCE
530sp_before_ellipsis              = ignore   # ignore/add/remove/force
531
532# Add or remove space between a type and '...'.
533sp_type_ellipsis                = ignore   # ignore/add/remove/force
534
535# Add or remove space between a '*' and '...'.
536sp_ptr_type_ellipsis            = ignore   # ignore/add/remove/force
537
538# Add or remove space between ')' and '...'.
539sp_paren_ellipsis               = ignore   # ignore/add/remove/force
540
541# Add or remove space between '&&' and '...'.
542sp_byref_ellipsis               = ignore   # ignore/add/remove/force
543
544# Add or remove space between ')' and a qualifier such as 'const'.
545sp_paren_qualifier              = ignore   # ignore/add/remove/force
546
547# Add or remove space between ')' and 'noexcept'.
548sp_paren_noexcept               = ignore   # ignore/add/remove/force
549
550# Add or remove space after class ':'.
551sp_after_class_colon            = remove   # ignore/add/remove/force
552
553# Add or remove space before class ':'.
554sp_before_class_colon           = ignore   # ignore/add/remove/force
555
556# Add or remove space after class constructor ':'.
557#
558# Default: add
559sp_after_constr_colon           = add      # ignore/add/remove/force
560
561# Add or remove space before class constructor ':'.
562#
563# Default: add
564sp_before_constr_colon          = add      # ignore/add/remove/force
565
566# Add or remove space before case ':'.
567#
568# Default: remove
569sp_before_case_colon            = remove   # ignore/add/remove/force
570
571# Add or remove space between 'operator' and operator sign.
572sp_after_operator               = ignore   # ignore/add/remove/force
573
574# Add or remove space between the operator symbol and the open parenthesis, as
575# in 'operator ++('.
576sp_after_operator_sym           = ignore   # ignore/add/remove/force
577
578# Overrides sp_after_operator_sym when the operator has no arguments, as in
579# 'operator *()'.
580sp_after_operator_sym_empty     = ignore   # ignore/add/remove/force
581
582# Add or remove space after C/D cast, i.e. 'cast(int)a' vs. 'cast(int) a' or
583# '(int)a' vs. '(int) a'.
584sp_after_cast                   = remove   # ignore/add/remove/force
585
586# Add or remove spaces inside cast parentheses.
587sp_inside_paren_cast            = remove   # ignore/add/remove/force
588
589# Add or remove space between the type and open parenthesis in a C++ cast,
590# i.e. 'int(exp)' vs. 'int (exp)'.
591sp_cpp_cast_paren               = ignore   # ignore/add/remove/force
592
593# Add or remove space between 'sizeof' and '('.
594sp_sizeof_paren                 = remove   # ignore/add/remove/force
595
596# Add or remove space between 'sizeof' and '...'.
597sp_sizeof_ellipsis              = ignore   # ignore/add/remove/force
598
599# Add or remove space between 'sizeof...' and '('.
600sp_sizeof_ellipsis_paren        = ignore   # ignore/add/remove/force
601
602# Add or remove space between '...' and a parameter pack.
603sp_ellipsis_parameter_pack      = ignore   # ignore/add/remove/force
604
605# Add or remove space between a parameter pack and '...'.
606sp_parameter_pack_ellipsis      = ignore   # ignore/add/remove/force
607
608# Add or remove space between 'decltype' and '('.
609sp_decltype_paren               = ignore   # ignore/add/remove/force
610
611# (Pawn) Add or remove space after the tag keyword.
612sp_after_tag                    = ignore   # ignore/add/remove/force
613
614# Add or remove space inside enum '{' and '}'.
615sp_inside_braces_enum           = force    # ignore/add/remove/force
616
617# Add or remove space inside struct/union '{' and '}'.
618sp_inside_braces_struct         = ignore   # ignore/add/remove/force
619
620# (OC) Add or remove space inside Objective-C boxed dictionary '{' and '}'
621sp_inside_braces_oc_dict        = ignore   # ignore/add/remove/force
622
623# Add or remove space after open brace in an unnamed temporary
624# direct-list-initialization
625# if statement is a brace_init_lst
626# works only if sp_brace_brace is set to ignore.
627sp_after_type_brace_init_lst_open = ignore   # ignore/add/remove/force
628
629# Add or remove space before close brace in an unnamed temporary
630# direct-list-initialization
631# if statement is a brace_init_lst
632# works only if sp_brace_brace is set to ignore.
633sp_before_type_brace_init_lst_close = ignore   # ignore/add/remove/force
634
635# Add or remove space inside an unnamed temporary direct-list-initialization
636# if statement is a brace_init_lst
637# works only if sp_brace_brace is set to ignore
638# works only if sp_before_type_brace_init_lst_close is set to ignore.
639sp_inside_type_brace_init_lst   = ignore   # ignore/add/remove/force
640
641# Add or remove space inside '{' and '}'.
642sp_inside_braces                = add      # ignore/add/remove/force
643
644# Add or remove space inside '{}'.
645# if empty.
646sp_inside_braces_empty          = remove   # ignore/add/remove/force
647
648# Add or remove space around trailing return operator '->'.
649sp_trailing_return              = ignore   # ignore/add/remove/force
650
651# Add or remove space between return type and function name. A minimum of 1
652# is forced except for pointer return types.
653sp_type_func                    = ignore   # ignore/add/remove/force
654
655# Add or remove space between type and open brace of an unnamed temporary
656# direct-list-initialization.
657sp_type_brace_init_lst          = ignore   # ignore/add/remove/force
658
659# Add or remove space between function name and '(' on function declaration.
660sp_func_proto_paren             = remove   # ignore/add/remove/force
661
662# Add or remove space between function name and '()' on function declaration
663# if empty.
664sp_func_proto_paren_empty       = ignore   # ignore/add/remove/force
665
666# Add or remove space between function name and '(' with a typedef specifier.
667sp_func_type_paren              = ignore   # ignore/add/remove/force
668
669# Add or remove space between alias name and '(' of a non-pointer function type typedef.
670sp_func_def_paren               = remove   # ignore/add/remove/force
671
672# Add or remove space between function name and '()' on function definition
673# if empty.
674sp_func_def_paren_empty         = ignore   # ignore/add/remove/force
675
676# Add or remove space inside empty function '()'.
677# Overrides sp_after_angle unless use_sp_after_angle_always is set to true.
678sp_inside_fparens               = remove   # ignore/add/remove/force
679
680# Add or remove space inside function '(' and ')'.
681sp_inside_fparen                = remove   # ignore/add/remove/force
682
683# Add or remove space inside user functor '(' and ')'.
684sp_func_call_user_inside_rparen = ignore   # ignore/add/remove/force
685
686# Add or remove space inside empty functor '()'.
687# Overrides sp_after_angle unless use_sp_after_angle_always is set to true.
688sp_inside_rparens               = ignore   # ignore/add/remove/force
689
690# Add or remove space inside functor '(' and ')'.
691sp_inside_rparen                = ignore   # ignore/add/remove/force
692
693# Add or remove space inside the first parentheses in a function type, as in
694# 'void (*x)(...)'.
695sp_inside_tparen                = remove   # ignore/add/remove/force
696
697# Add or remove space between the ')' and '(' in a function type, as in
698# 'void (*x)(...)'.
699sp_after_tparen_close           = remove   # ignore/add/remove/force
700
701# Add or remove space between ']' and '(' when part of a function call.
702sp_square_fparen                = ignore   # ignore/add/remove/force
703
704# Add or remove space between ')' and '{' of function.
705sp_fparen_brace                 = ignore   # ignore/add/remove/force
706
707# Add or remove space between ')' and '{' of a function call in object
708# initialization.
709#
710# Overrides sp_fparen_brace.
711sp_fparen_brace_initializer     = ignore   # ignore/add/remove/force
712
713# (Java) Add or remove space between ')' and '{{' of double brace initializer.
714sp_fparen_dbrace                = ignore   # ignore/add/remove/force
715
716# Add or remove space between function name and '(' on function calls.
717sp_func_call_paren              = remove   # ignore/add/remove/force
718
719# Add or remove space between function name and '()' on function calls without
720# parameters. If set to ignore (the default), sp_func_call_paren is used.
721sp_func_call_paren_empty        = ignore   # ignore/add/remove/force
722
723# Add or remove space between the user function name and '(' on function
724# calls. You need to set a keyword to be a user function in the config file,
725# like:
726#   set func_call_user tr _ i18n
727sp_func_call_user_paren         = ignore   # ignore/add/remove/force
728
729# Add or remove space inside user function '(' and ')'.
730sp_func_call_user_inside_fparen = ignore   # ignore/add/remove/force
731
732# Add or remove space between nested parentheses with user functions,
733# i.e. '((' vs. '( ('.
734sp_func_call_user_paren_paren   = ignore   # ignore/add/remove/force
735
736# Add or remove space between a constructor/destructor and the open
737# parenthesis.
738sp_func_class_paren             = ignore   # ignore/add/remove/force
739
740# Add or remove space between a constructor without parameters or destructor
741# and '()'.
742sp_func_class_paren_empty       = ignore   # ignore/add/remove/force
743
744# Add or remove space after 'return'.
745#
746# Default: force
747sp_return                       = force    # ignore/add/remove/force
748
749# Add or remove space between 'return' and '('.
750sp_return_paren                 = force    # ignore/add/remove/force
751
752# Add or remove space between 'return' and '{'.
753sp_return_brace                 = ignore   # ignore/add/remove/force
754
755# Add or remove space between '__attribute__' and '('.
756sp_attribute_paren              = remove   # ignore/add/remove/force
757
758# Add or remove space between 'defined' and '(' in '#if defined (FOO)'.
759sp_defined_paren                = remove   # ignore/add/remove/force
760
761# Add or remove space between 'throw' and '(' in 'throw (something)'.
762sp_throw_paren                  = ignore   # ignore/add/remove/force
763
764# Add or remove space between 'throw' and anything other than '(' as in
765# '@throw [...];'.
766sp_after_throw                  = ignore   # ignore/add/remove/force
767
768# Add or remove space between 'catch' and '(' in 'catch (something) { }'.
769# If set to ignore, sp_before_sparen is used.
770sp_catch_paren                  = ignore   # ignore/add/remove/force
771
772# (OC) Add or remove space between '@catch' and '('
773# in '@catch (something) { }'. If set to ignore, sp_catch_paren is used.
774sp_oc_catch_paren               = ignore   # ignore/add/remove/force
775
776# (OC) Add or remove space before Objective-C protocol list
777# as in '@protocol Protocol<here><Protocol_A>' or '@interface MyClass : NSObject<here><MyProtocol>'.
778sp_before_oc_proto_list         = ignore   # ignore/add/remove/force
779
780# (OC) Add or remove space between class name and '('
781# in '@interface className(categoryName)<ProtocolName>:BaseClass'
782sp_oc_classname_paren           = ignore   # ignore/add/remove/force
783
784# (D) Add or remove space between 'version' and '('
785# in 'version (something) { }'. If set to ignore, sp_before_sparen is used.
786sp_version_paren                = ignore   # ignore/add/remove/force
787
788# (D) Add or remove space between 'scope' and '('
789# in 'scope (something) { }'. If set to ignore, sp_before_sparen is used.
790sp_scope_paren                  = ignore   # ignore/add/remove/force
791
792# Add or remove space between 'super' and '(' in 'super (something)'.
793#
794# Default: remove
795sp_super_paren                  = remove   # ignore/add/remove/force
796
797# Add or remove space between 'this' and '(' in 'this (something)'.
798#
799# Default: remove
800sp_this_paren                   = remove   # ignore/add/remove/force
801
802# Add or remove space between a macro name and its definition.
803sp_macro                        = ignore   # ignore/add/remove/force
804
805# Add or remove space between a macro function ')' and its definition.
806sp_macro_func                   = ignore   # ignore/add/remove/force
807
808# Add or remove space between 'else' and '{' if on the same line.
809sp_else_brace                   = force    # ignore/add/remove/force
810
811# Add or remove space between '}' and 'else' if on the same line.
812sp_brace_else                   = force    # ignore/add/remove/force
813
814# Add or remove space between '}' and the name of a typedef on the same line.
815sp_brace_typedef                = force    # ignore/add/remove/force
816
817# Add or remove space before the '{' of a 'catch' statement, if the '{' and
818# 'catch' are on the same line, as in 'catch (decl) <here> {'.
819sp_catch_brace                  = ignore   # ignore/add/remove/force
820
821# (OC) Add or remove space before the '{' of a '@catch' statement, if the '{'
822# and '@catch' are on the same line, as in '@catch (decl) <here> {'.
823# If set to ignore, sp_catch_brace is used.
824sp_oc_catch_brace               = ignore   # ignore/add/remove/force
825
826# Add or remove space between '}' and 'catch' if on the same line.
827sp_brace_catch                  = ignore   # ignore/add/remove/force
828
829# (OC) Add or remove space between '}' and '@catch' if on the same line.
830# If set to ignore, sp_brace_catch is used.
831sp_oc_brace_catch               = ignore   # ignore/add/remove/force
832
833# Add or remove space between 'finally' and '{' if on the same line.
834sp_finally_brace                = ignore   # ignore/add/remove/force
835
836# Add or remove space between '}' and 'finally' if on the same line.
837sp_brace_finally                = ignore   # ignore/add/remove/force
838
839# Add or remove space between 'try' and '{' if on the same line.
840sp_try_brace                    = ignore   # ignore/add/remove/force
841
842# Add or remove space between get/set and '{' if on the same line.
843sp_getset_brace                 = ignore   # ignore/add/remove/force
844
845# Add or remove space between a variable and '{' for C++ uniform
846# initialization.
847sp_word_brace_init_lst          = ignore   # ignore/add/remove/force
848
849# Add or remove space between a variable and '{' for a namespace.
850#
851# Default: add
852sp_word_brace_ns                = add      # ignore/add/remove/force
853
854# Add or remove space before the '::' operator.
855sp_before_dc                    = ignore   # ignore/add/remove/force
856
857# Add or remove space after the '::' operator.
858sp_after_dc                     = ignore   # ignore/add/remove/force
859
860# (D) Add or remove around the D named array initializer ':' operator.
861sp_d_array_colon                = ignore   # ignore/add/remove/force
862
863# Add or remove space after the '!' (not) unary operator.
864#
865# Default: remove
866sp_not                          = remove   # ignore/add/remove/force
867
868# Add or remove space between two '!' (not) unary operators.
869# If set to ignore, sp_not will be used.
870sp_not_not                      = ignore   # ignore/add/remove/force
871
872# Add or remove space after the '~' (invert) unary operator.
873#
874# Default: remove
875sp_inv                          = remove   # ignore/add/remove/force
876
877# Add or remove space after the '&' (address-of) unary operator. This does not
878# affect the spacing after a '&' that is part of a type.
879#
880# Default: remove
881sp_addr                         = ignore   # ignore/add/remove/force
882
883# Add or remove space around the '.' or '->' operators.
884# also the c-sharp null-conditional operator '?.'
885#
886# Default: remove
887sp_member                       = remove   # ignore/add/remove/force
888
889# Add or remove space after the '*' (dereference) unary operator. This does
890# not affect the spacing after a '*' that is part of a type.
891#
892# Default: remove
893sp_deref                        = remove   # ignore/add/remove/force
894
895# Add or remove space after '+' or '-', as in 'x = -5' or 'y = +7'.
896#
897# Default: remove
898sp_sign                         = remove   # ignore/add/remove/force
899
900# Add or remove space between '++' and '--' the word to which it is being
901# applied, as in '(--x)' or 'y++;'.
902#
903# Default: remove
904sp_incdec                       = remove   # ignore/add/remove/force
905
906# Add or remove space before a backslash-newline at the end of a line.
907#
908# Default: add
909sp_before_nl_cont               = force    # ignore/add/remove/force
910
911# (OC) Add or remove space after the scope '+' or '-', as in '-(void) foo;'
912# or '+(int) bar;'.
913sp_after_oc_scope               = ignore   # ignore/add/remove/force
914
915# (OC) Add or remove space after the colon in message specs,
916# i.e. '-(int) f:(int) x;' vs. '-(int) f: (int) x;'.
917sp_after_oc_colon               = ignore   # ignore/add/remove/force
918
919# (OC) Add or remove space before the colon in message specs,
920# i.e. '-(int) f: (int) x;' vs. '-(int) f : (int) x;'.
921sp_before_oc_colon              = ignore   # ignore/add/remove/force
922
923# (OC) Add or remove space after the colon in immutable dictionary expression
924# 'NSDictionary *test = @{@"foo" :@"bar"};'.
925sp_after_oc_dict_colon          = ignore   # ignore/add/remove/force
926
927# (OC) Add or remove space before the colon in immutable dictionary expression
928# 'NSDictionary *test = @{@"foo" :@"bar"};'.
929sp_before_oc_dict_colon         = ignore   # ignore/add/remove/force
930
931# (OC) Add or remove space after the colon in message specs,
932# i.e. '[object setValue:1];' vs. '[object setValue: 1];'.
933sp_after_send_oc_colon          = ignore   # ignore/add/remove/force
934
935# (OC) Add or remove space before the colon in message specs,
936# i.e. '[object setValue:1];' vs. '[object setValue :1];'.
937sp_before_send_oc_colon         = ignore   # ignore/add/remove/force
938
939# (OC) Add or remove space after the (type) in message specs,
940# i.e. '-(int)f: (int) x;' vs. '-(int)f: (int)x;'.
941sp_after_oc_type                = ignore   # ignore/add/remove/force
942
943# (OC) Add or remove space after the first (type) in message specs,
944# i.e. '-(int) f:(int)x;' vs. '-(int)f:(int)x;'.
945sp_after_oc_return_type         = ignore   # ignore/add/remove/force
946
947# (OC) Add or remove space between '@selector' and '(',
948# i.e. '@selector(msgName)' vs. '@selector (msgName)'.
949# Also applies to '@protocol()' constructs.
950sp_after_oc_at_sel              = ignore   # ignore/add/remove/force
951
952# (OC) Add or remove space between '@selector(x)' and the following word,
953# i.e. '@selector(foo) a:' vs. '@selector(foo)a:'.
954sp_after_oc_at_sel_parens       = ignore   # ignore/add/remove/force
955
956# (OC) Add or remove space inside '@selector' parentheses,
957# i.e. '@selector(foo)' vs. '@selector( foo )'.
958# Also applies to '@protocol()' constructs.
959sp_inside_oc_at_sel_parens      = ignore   # ignore/add/remove/force
960
961# (OC) Add or remove space before a block pointer caret,
962# i.e. '^int (int arg){...}' vs. ' ^int (int arg){...}'.
963sp_before_oc_block_caret        = ignore   # ignore/add/remove/force
964
965# (OC) Add or remove space after a block pointer caret,
966# i.e. '^int (int arg){...}' vs. '^ int (int arg){...}'.
967sp_after_oc_block_caret         = ignore   # ignore/add/remove/force
968
969# (OC) Add or remove space between the receiver and selector in a message,
970# as in '[receiver selector ...]'.
971sp_after_oc_msg_receiver        = ignore   # ignore/add/remove/force
972
973# (OC) Add or remove space after '@property'.
974sp_after_oc_property            = ignore   # ignore/add/remove/force
975
976# (OC) Add or remove space between '@synchronized' and the open parenthesis,
977# i.e. '@synchronized(foo)' vs. '@synchronized (foo)'.
978sp_after_oc_synchronized        = ignore   # ignore/add/remove/force
979
980# Add or remove space around the ':' in 'b ? t : f'.
981sp_cond_colon                   = force    # ignore/add/remove/force
982
983# Add or remove space before the ':' in 'b ? t : f'.
984#
985# Overrides sp_cond_colon.
986sp_cond_colon_before            = ignore   # ignore/add/remove/force
987
988# Add or remove space after the ':' in 'b ? t : f'.
989#
990# Overrides sp_cond_colon.
991sp_cond_colon_after             = ignore   # ignore/add/remove/force
992
993# Add or remove space around the '?' in 'b ? t : f'.
994sp_cond_question                = force    # ignore/add/remove/force
995
996# Add or remove space before the '?' in 'b ? t : f'.
997#
998# Overrides sp_cond_question.
999sp_cond_question_before         = ignore   # ignore/add/remove/force
1000
1001# Add or remove space after the '?' in 'b ? t : f'.
1002#
1003# Overrides sp_cond_question.
1004sp_cond_question_after          = ignore   # ignore/add/remove/force
1005
1006# In the abbreviated ternary form '(a ?: b)', add or remove space between '?'
1007# and ':'.
1008#
1009# Overrides all other sp_cond_* options.
1010sp_cond_ternary_short           = ignore   # ignore/add/remove/force
1011
1012# Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make
1013# sense here.
1014sp_case_label                   = ignore   # ignore/add/remove/force
1015
1016# (D) Add or remove space around the D '..' operator.
1017sp_range                        = ignore   # ignore/add/remove/force
1018
1019# Add or remove space after ':' in a Java/C++11 range-based 'for',
1020# as in 'for (Type var : <here> expr)'.
1021sp_after_for_colon              = ignore   # ignore/add/remove/force
1022
1023# Add or remove space before ':' in a Java/C++11 range-based 'for',
1024# as in 'for (Type var <here> : expr)'.
1025sp_before_for_colon             = ignore   # ignore/add/remove/force
1026
1027# (D) Add or remove space between 'extern' and '(' as in 'extern <here> (C)'.
1028sp_extern_paren                 = ignore   # ignore/add/remove/force
1029
1030# Add or remove space after the opening of a C++ comment, as in '// <here> A'.
1031sp_cmt_cpp_start                = add      # ignore/add/remove/force
1032
1033# remove space after the '//' and the pvs command '-V1234',
1034# only works with sp_cmt_cpp_start set to add or force.
1035sp_cmt_cpp_pvs                  = false    # true/false
1036
1037# remove space after the '//' and the command 'lint',
1038# only works with sp_cmt_cpp_start set to add or force.
1039sp_cmt_cpp_lint                 = false    # true/false
1040
1041# Add or remove space in a C++ region marker comment, as in '// <here> BEGIN'.
1042# A region marker is defined as a comment which is not preceded by other text
1043# (i.e. the comment is the first non-whitespace on the line), and which starts
1044# with either 'BEGIN' or 'END'.
1045#
1046# Overrides sp_cmt_cpp_start.
1047sp_cmt_cpp_region               = ignore   # ignore/add/remove/force
1048
1049# If true, space added with sp_cmt_cpp_start will be added after Doxygen
1050# sequences like '///', '///<', '//!' and '//!<'.
1051sp_cmt_cpp_doxygen              = false    # true/false
1052
1053# If true, space added with sp_cmt_cpp_start will be added after Qt translator
1054# or meta-data comments like '//:', '//=', and '//~'.
1055sp_cmt_cpp_qttr                 = false    # true/false
1056
1057# Add or remove space between #else or #endif and a trailing comment.
1058sp_endif_cmt                    = ignore   # ignore/add/remove/force
1059
1060# Add or remove space after 'new', 'delete' and 'delete[]'.
1061sp_after_new                    = ignore   # ignore/add/remove/force
1062
1063# Add or remove space between 'new' and '(' in 'new()'.
1064sp_between_new_paren            = ignore   # ignore/add/remove/force
1065
1066# Add or remove space between ')' and type in 'new(foo) BAR'.
1067sp_after_newop_paren            = ignore   # ignore/add/remove/force
1068
1069# Add or remove space inside parentheses of the new operator
1070# as in 'new(foo) BAR'.
1071sp_inside_newop_paren           = ignore   # ignore/add/remove/force
1072
1073# Add or remove space after the open parenthesis of the new operator,
1074# as in 'new(foo) BAR'.
1075#
1076# Overrides sp_inside_newop_paren.
1077sp_inside_newop_paren_open      = ignore   # ignore/add/remove/force
1078
1079# Add or remove space before the close parenthesis of the new operator,
1080# as in 'new(foo) BAR'.
1081#
1082# Overrides sp_inside_newop_paren.
1083sp_inside_newop_paren_close     = ignore   # ignore/add/remove/force
1084
1085# Add or remove space before a trailing comment.
1086sp_before_tr_cmt                = add      # ignore/add/remove/force
1087
1088# Number of spaces before a trailing comment.
1089sp_num_before_tr_cmt            = 2        # unsigned number
1090
1091# Add or remove space before an embedded comment.
1092#
1093# Default: force
1094sp_before_emb_cmt               = force    # ignore/add/remove/force
1095
1096# Number of spaces before an embedded comment.
1097#
1098# Default: 1
1099sp_num_before_emb_cmt           = 1        # unsigned number
1100
1101# Add or remove space after an embedded comment.
1102#
1103# Default: force
1104sp_after_emb_cmt                = force    # ignore/add/remove/force
1105
1106# Number of spaces after an embedded comment.
1107#
1108# Default: 1
1109sp_num_after_emb_cmt            = 1        # unsigned number
1110
1111# Embedded comment spacing options have higher priority (== override)
1112# than other spacing options (comma, parenthesis, braces, ...)
1113sp_emb_cmt_priority             = false    # true/false
1114
1115# (Java) Add or remove space between an annotation and the open parenthesis.
1116sp_annotation_paren             = ignore   # ignore/add/remove/force
1117
1118# If true, vbrace tokens are dropped to the previous token and skipped.
1119sp_skip_vbrace_tokens           = false    # true/false
1120
1121# Add or remove space after 'noexcept'.
1122sp_after_noexcept               = ignore   # ignore/add/remove/force
1123
1124# Add or remove space after '_'.
1125sp_vala_after_translation       = ignore   # ignore/add/remove/force
1126
1127# Add or remove space before a bit colon ':'.
1128sp_before_bit_colon             = ignore   # ignore/add/remove/force
1129
1130# Add or remove space after a bit colon ':'.
1131sp_after_bit_colon              = ignore   # ignore/add/remove/force
1132
1133# If true, a <TAB> is inserted after #define.
1134force_tab_after_define          = false    # true/false
1135
1136# Add or remove space between two strings.
1137sp_string_string                = force    # ignore/add/remove/force
1138
1139# Add or remove space 'struct' and a type.
1140sp_struct_type                  = ignore   # ignore/add/remove/force
1141
1142#
1143# Indenting options
1144#
1145
1146# The number of columns to indent per level. Usually 2, 3, 4, or 8.
1147#
1148# Default: 8
1149indent_columns                  = 2        # unsigned number
1150
1151# Whether to ignore indent for the first continuation line. Subsequent
1152# continuation lines will still be indented to match the first.
1153indent_ignore_first_continue    = false    # true/false
1154
1155# The continuation indent. If non-zero, this overrides the indent of '(', '['
1156# and '=' continuation indents. Negative values are OK; negative value is
1157# absolute and not increased for each '(' or '[' level.
1158#
1159# For FreeBSD, this is set to 4.
1160# Requires indent_ignore_first_continue=false.
1161indent_continue                 = 0        # number
1162
1163# The continuation indent, only for class header line(s). If non-zero, this
1164# overrides the indent of 'class' continuation indents.
1165# Requires indent_ignore_first_continue=false.
1166indent_continue_class_head      = 0        # unsigned number
1167
1168# Whether to indent empty lines (i.e. lines which contain only spaces before
1169# the newline character).
1170indent_single_newlines          = false    # true/false
1171
1172# The continuation indent for func_*_param if they are true. If non-zero, this
1173# overrides the indent.
1174indent_param                    = 0        # unsigned number
1175
1176# How to use tabs when indenting code.
1177#
1178# 0: Spaces only
1179# 1: Indent with tabs to brace level, align with spaces (default)
1180# 2: Indent and align with tabs, using spaces when not on a tabstop
1181#
1182# Default: 1
1183indent_with_tabs                = 0        # unsigned number
1184
1185# Whether to indent comments that are not at a brace level with tabs on a
1186# tabstop. Requires indent_with_tabs=2. If false, will use spaces.
1187indent_cmt_with_tabs            = false    # true/false
1188
1189# Whether to indent strings broken by '\' so that they line up.
1190indent_align_string             = false    # true/false
1191
1192# The number of spaces to indent multi-line XML strings.
1193# Requires indent_align_string=true.
1194indent_xml_string               = 0        # unsigned number
1195
1196# Spaces to indent '{' from level.
1197indent_brace                    = 0        # unsigned number
1198
1199# Whether braces are indented to the body level.
1200indent_braces                   = false    # true/false
1201
1202# Whether to disable indenting function braces if indent_braces=true.
1203indent_braces_no_func           = false    # true/false
1204
1205# Whether to disable indenting class braces if indent_braces=true.
1206indent_braces_no_class          = false    # true/false
1207
1208# Whether to disable indenting struct braces if indent_braces=true.
1209indent_braces_no_struct         = false    # true/false
1210
1211# Whether to indent based on the size of the brace parent,
1212# i.e. 'if' => 3 spaces, 'for' => 4 spaces, etc.
1213indent_brace_parent             = false    # true/false
1214
1215# Whether to indent based on the open parenthesis instead of the open brace
1216# in '({\n'.
1217indent_paren_open_brace         = false    # true/false
1218
1219# (C#) Whether to indent the brace of a C# delegate by another level.
1220indent_cs_delegate_brace        = false    # true/false
1221
1222# (C#) Whether to indent a C# delegate (to handle delegates with no brace) by
1223# another level.
1224indent_cs_delegate_body         = false    # true/false
1225
1226# Whether to indent the body of a 'namespace'.
1227indent_namespace                = false    # true/false
1228
1229# Whether to indent only the first namespace, and not any nested namespaces.
1230# Requires indent_namespace=true.
1231indent_namespace_single_indent  = false    # true/false
1232
1233# The number of spaces to indent a namespace block.
1234# If set to zero, use the value indent_columns
1235indent_namespace_level          = 0        # unsigned number
1236
1237# If the body of the namespace is longer than this number, it won't be
1238# indented. Requires indent_namespace=true. 0 means no limit.
1239indent_namespace_limit          = 0        # unsigned number
1240
1241# Whether to indent only in inner namespaces (nested in other namespaces).
1242# Requires indent_namespace=true.
1243indent_namespace_inner_only     = false    # true/false
1244
1245# Whether the 'extern "C"' body is indented.
1246indent_extern                   = false    # true/false
1247
1248# Whether the 'class' body is indented.
1249indent_class                    = false    # true/false
1250
1251# Whether to ignore indent for the leading base class colon.
1252indent_ignore_before_class_colon = true     # true/false
1253
1254# Additional indent before the leading base class colon.
1255# Negative values decrease indent down to the first column.
1256# Requires indent_ignore_before_class_colon=false and a newline break before
1257# the colon (see pos_class_colon and nl_class_colon)
1258indent_before_class_colon       = 0        # number
1259
1260# Whether to indent the stuff after a leading base class colon.
1261indent_class_colon              = false    # true/false
1262
1263# Whether to indent based on a class colon instead of the stuff after the
1264# colon. Requires indent_class_colon=true.
1265indent_class_on_colon           = false    # true/false
1266
1267# Whether to ignore indent for a leading class initializer colon.
1268indent_ignore_before_constr_colon = false    # true/false
1269
1270# Whether to indent the stuff after a leading class initializer colon.
1271indent_constr_colon             = false    # true/false
1272
1273# Virtual indent from the ':' for leading member initializers.
1274#
1275# Default: 2
1276indent_ctor_init_leading        = 2        # unsigned number
1277
1278# Virtual indent from the ':' for following member initializers.
1279#
1280# Default: 2
1281indent_ctor_init_following      = 2        # unsigned number
1282
1283# Additional indent for constructor initializer list.
1284# Negative values decrease indent down to the first column.
1285indent_ctor_init                = 0        # number
1286
1287# Whether to indent 'if' following 'else' as a new block under the 'else'.
1288# If false, 'else\nif' is treated as 'else if' for indenting purposes.
1289indent_else_if                  = false    # true/false
1290
1291# Amount to indent variable declarations after a open brace.
1292#
1293#  <0: Relative
1294# >=0: Absolute
1295indent_var_def_blk              = 0        # number
1296
1297# Whether to indent continued variable declarations instead of aligning.
1298indent_var_def_cont             = false    # true/false
1299
1300# How to indent continued shift expressions ('<<' and '>>').
1301# Set align_left_shift=false when using this.
1302#  0: Align shift operators instead of indenting them (default)
1303#  1: Indent by one level
1304# -1: Preserve original indentation
1305indent_shift                    = 0        # number
1306
1307# Whether to force indentation of function definitions to start in column 1.
1308indent_func_def_force_col1      = false    # true/false
1309
1310# Whether to indent continued function call parameters one indent level,
1311# rather than aligning parameters under the open parenthesis.
1312indent_func_call_param          = false    # true/false
1313
1314# Whether to indent continued function definition parameters one indent level,
1315# rather than aligning parameters under the open parenthesis.
1316indent_func_def_param           = false    # true/false
1317
1318# for function definitions, only if indent_func_def_param is false
1319# Allows to align params when appropriate and indent them when not
1320# behave as if it was true if paren position is more than this value
1321# if paren position is more than the option value
1322indent_func_def_param_paren_pos_threshold = 0        # unsigned number
1323
1324# Whether to indent continued function call prototype one indent level,
1325# rather than aligning parameters under the open parenthesis.
1326indent_func_proto_param         = false    # true/false
1327
1328# Whether to indent continued function call declaration one indent level,
1329# rather than aligning parameters under the open parenthesis.
1330indent_func_class_param         = false    # true/false
1331
1332# Whether to indent continued class variable constructors one indent level,
1333# rather than aligning parameters under the open parenthesis.
1334indent_func_ctor_var_param      = false    # true/false
1335
1336# Whether to indent continued template parameter list one indent level,
1337# rather than aligning parameters under the open parenthesis.
1338indent_template_param           = false    # true/false
1339
1340# Double the indent for indent_func_xxx_param options.
1341# Use both values of the options indent_columns and indent_param.
1342indent_func_param_double        = false    # true/false
1343
1344# Indentation column for standalone 'const' qualifier on a function
1345# prototype.
1346indent_func_const               = 0        # unsigned number
1347
1348# Indentation column for standalone 'throw' qualifier on a function
1349# prototype.
1350indent_func_throw               = 0        # unsigned number
1351
1352# How to indent within a macro followed by a brace on the same line
1353# This allows reducing the indent in macros that have (for example)
1354# `do { ... } while (0)` blocks bracketing them.
1355#
1356# true:  add an indent for the brace on the same line as the macro
1357# false: do not add an indent for the brace on the same line as the macro
1358#
1359# Default: true
1360indent_macro_brace              = false    # true/false
1361
1362# The number of spaces to indent a continued '->' or '.'.
1363# Usually set to 0, 1, or indent_columns.
1364indent_member                   = 0        # unsigned number
1365
1366# Whether lines broken at '.' or '->' should be indented by a single indent.
1367# The indent_member option will not be effective if this is set to true.
1368indent_member_single            = false    # true/false
1369
1370# Spaces to indent single line ('//') comments on lines before code.
1371indent_single_line_comments_before = 0        # unsigned number
1372
1373# Spaces to indent single line ('//') comments on lines after code.
1374indent_single_line_comments_after = 0        # unsigned number
1375
1376# When opening a paren for a control statement (if, for, while, etc), increase
1377# the indent level by this value. Negative values decrease the indent level.
1378indent_sparen_extra             = 0        # number
1379
1380# Whether to indent trailing single line ('//') comments relative to the code
1381# instead of trying to keep the same absolute column.
1382indent_relative_single_line_comments = true     # true/false
1383
1384# Spaces to indent 'case' from 'switch'. Usually 0 or indent_columns.
1385# It might be wise to choose the same value for the option indent_case_brace.
1386indent_switch_case              = 0        # unsigned number
1387
1388# Spaces to indent the body of a 'switch' before any 'case'.
1389# Usually the same as indent_columns or indent_switch_case.
1390indent_switch_body              = 0        # unsigned number
1391
1392# Whether to ignore indent for '{' following 'case'.
1393indent_ignore_case_brace        = false    # true/false
1394
1395# Spaces to indent '{' from 'case'. By default, the brace will appear under
1396# the 'c' in case. Usually set to 0 or indent_columns. Negative values are OK.
1397# It might be wise to choose the same value for the option indent_switch_case.
1398indent_case_brace               = 0        # number
1399
1400# indent 'break' with 'case' from 'switch'.
1401indent_switch_break_with_case   = false    # true/false
1402
1403# Whether to indent preprocessor statements inside of switch statements.
1404#
1405# Default: true
1406indent_switch_pp                = true     # true/false
1407
1408# Spaces to shift the 'case' line, without affecting any other lines.
1409# Usually 0.
1410indent_case_shift               = 0        # unsigned number
1411
1412# Whether to align comments before 'case' with the 'case'.
1413#
1414# Default: true
1415indent_case_comment             = true     # true/false
1416
1417# Whether to indent comments not found in first column.
1418#
1419# Default: true
1420indent_comment                  = true     # true/false
1421
1422# Whether to indent comments found in first column.
1423indent_col1_comment             = false    # true/false
1424
1425# Whether to indent multi string literal in first column.
1426indent_col1_multi_string_literal = false    # true/false
1427
1428# Align comments on adjacent lines that are this many columns apart or less.
1429#
1430# Default: 3
1431indent_comment_align_thresh     = 3        # unsigned number
1432
1433# Whether to ignore indent for goto labels.
1434indent_ignore_label             = true     # true/false
1435
1436# How to indent goto labels. Requires indent_ignore_label=false.
1437#
1438#  >0: Absolute column where 1 is the leftmost column
1439# <=0: Subtract from brace indent
1440#
1441# Default: 1
1442indent_label                    = 1        # number
1443
1444# How to indent access specifiers that are followed by a
1445# colon.
1446#
1447#  >0: Absolute column where 1 is the leftmost column
1448# <=0: Subtract from brace indent
1449#
1450# Default: 1
1451indent_access_spec              = 1        # number
1452
1453# Whether to indent the code after an access specifier by one level.
1454# If true, this option forces 'indent_access_spec=0'.
1455indent_access_spec_body         = false    # true/false
1456
1457# If an open parenthesis is followed by a newline, whether to indent the next
1458# line so that it lines up after the open parenthesis (not recommended).
1459indent_paren_nl                 = false    # true/false
1460
1461# How to indent a close parenthesis after a newline.
1462#
1463#  0: Indent to body level (default)
1464#  1: Align under the open parenthesis
1465#  2: Indent to the brace level
1466# -1: Preserve original indentation
1467indent_paren_close              = 0        # number
1468
1469# Whether to indent the open parenthesis of a function definition,
1470# if the parenthesis is on its own line.
1471indent_paren_after_func_def     = false    # true/false
1472
1473# Whether to indent the open parenthesis of a function declaration,
1474# if the parenthesis is on its own line.
1475indent_paren_after_func_decl    = false    # true/false
1476
1477# Whether to indent the open parenthesis of a function call,
1478# if the parenthesis is on its own line.
1479indent_paren_after_func_call    = true     # true/false
1480
1481# How to indent a comma when inside braces.
1482#  0: Indent by one level (default)
1483#  1: Align under the open brace
1484# -1: Preserve original indentation
1485indent_comma_brace              = 0        # number
1486
1487# How to indent a comma when inside parentheses.
1488#  0: Indent by one level (default)
1489#  1: Align under the open parenthesis
1490# -1: Preserve original indentation
1491indent_comma_paren              = 0        # number
1492
1493# How to indent a Boolean operator when inside parentheses.
1494#  0: Indent by one level (default)
1495#  1: Align under the open parenthesis
1496# -1: Preserve original indentation
1497indent_bool_paren               = 0        # number
1498
1499# Whether to ignore the indentation of a Boolean operator when outside
1500# parentheses.
1501indent_ignore_bool              = false    # true/false
1502
1503# Whether to indent lines that are nested in boolean expression one more level for each nesting
1504indent_bool_nested_all          = false    # true/false
1505
1506# Whether to ignore the indentation of an arithmetic operator.
1507indent_ignore_arith             = false    # true/false
1508
1509# Whether to indent a semicolon when inside a for parenthesis.
1510# If true, aligns under the open for parenthesis.
1511indent_semicolon_for_paren      = false    # true/false
1512
1513# Whether to ignore the indentation of a semicolon outside of a 'for'
1514# statement.
1515indent_ignore_semicolon         = false    # true/false
1516
1517# Whether to align the first expression to following ones
1518# if indent_bool_paren=1.
1519indent_first_bool_expr          = false    # true/false
1520
1521# Whether to align the first expression to following ones
1522# if indent_semicolon_for_paren=true.
1523indent_first_for_expr           = false    # true/false
1524
1525# If an open square is followed by a newline, whether to indent the next line
1526# so that it lines up after the open square (not recommended).
1527indent_square_nl                = false    # true/false
1528
1529# (ESQL/C) Whether to preserve the relative indent of 'EXEC SQL' bodies.
1530indent_preserve_sql             = false    # true/false
1531
1532# Whether to ignore the indentation of an assignment operator.
1533indent_ignore_assign            = false    # true/false
1534
1535# Whether to align continued statements at the '='. If false or if the '=' is
1536# followed by a newline, the next line is indent one tab.
1537#
1538# Default: true
1539indent_align_assign             = true     # true/false
1540
1541# If true, the indentation of the chunks after a '=' sequence will be set at
1542# LHS token indentation column before '='.
1543indent_off_after_assign         = false    # true/false
1544
1545# Whether to align continued statements at the '('. If false or the '(' is
1546# followed by a newline, the next line indent is one tab.
1547#
1548# Default: true
1549indent_align_paren              = true     # true/false
1550
1551# (OC) Whether to indent Objective-C code inside message selectors.
1552indent_oc_inside_msg_sel        = false    # true/false
1553
1554# (OC) Whether to indent Objective-C blocks at brace level instead of usual
1555# rules.
1556indent_oc_block                 = false    # true/false
1557
1558# (OC) Indent for Objective-C blocks in a message relative to the parameter
1559# name.
1560#
1561# =0: Use indent_oc_block rules
1562# >0: Use specified number of spaces to indent
1563indent_oc_block_msg             = 0        # unsigned number
1564
1565# (OC) Minimum indent for subsequent parameters
1566indent_oc_msg_colon             = 0        # unsigned number
1567
1568# (OC) Whether to prioritize aligning with initial colon (and stripping spaces
1569# from lines, if necessary).
1570#
1571# Default: true
1572indent_oc_msg_prioritize_first_colon = true     # true/false
1573
1574# (OC) Whether to indent blocks the way that Xcode does by default
1575# (from the keyword if the parameter is on its own line; otherwise, from the
1576# previous indentation level). Requires indent_oc_block_msg=true.
1577indent_oc_block_msg_xcode_style = false    # true/false
1578
1579# (OC) Whether to indent blocks from where the brace is, relative to a
1580# message keyword. Requires indent_oc_block_msg=true.
1581indent_oc_block_msg_from_keyword = false    # true/false
1582
1583# (OC) Whether to indent blocks from where the brace is, relative to a message
1584# colon. Requires indent_oc_block_msg=true.
1585indent_oc_block_msg_from_colon  = false    # true/false
1586
1587# (OC) Whether to indent blocks from where the block caret is.
1588# Requires indent_oc_block_msg=true.
1589indent_oc_block_msg_from_caret  = false    # true/false
1590
1591# (OC) Whether to indent blocks from where the brace caret is.
1592# Requires indent_oc_block_msg=true.
1593indent_oc_block_msg_from_brace  = false    # true/false
1594
1595# When indenting after virtual brace open and newline add further spaces to
1596# reach this minimum indent.
1597indent_min_vbrace_open          = 0        # unsigned number
1598
1599# Whether to add further spaces after regular indent to reach next tabstop
1600# when indenting after virtual brace open and newline.
1601indent_vbrace_open_on_tabstop   = false    # true/false
1602
1603# How to indent after a brace followed by another token (not a newline).
1604# true:  indent all contained lines to match the token
1605# false: indent all contained lines to match the brace
1606#
1607# Default: true
1608indent_token_after_brace        = true     # true/false
1609
1610# Whether to indent the body of a C++11 lambda.
1611indent_cpp_lambda_body          = false    # true/false
1612
1613# How to indent compound literals that are being returned.
1614# true: add both the indent from return & the compound literal open brace
1615#       (i.e. 2 indent levels)
1616# false: only indent 1 level, don't add the indent for the open brace, only
1617#        add the indent for the return.
1618#
1619# Default: true
1620indent_compound_literal_return  = false    # true/false
1621
1622# (C#) Whether to indent a 'using' block if no braces are used.
1623#
1624# Default: true
1625indent_using_block              = true     # true/false
1626
1627# How to indent the continuation of ternary operator.
1628#
1629# 0: Off (default)
1630# 1: When the `if_false` is a continuation, indent it under the `if_true` branch
1631# 2: When the `:` is a continuation, indent it under `?`
1632indent_ternary_operator         = 2        # unsigned number
1633
1634# Whether to indent the statements inside ternary operator.
1635indent_inside_ternary_operator  = false    # true/false
1636
1637# If true, the indentation of the chunks after a `return` sequence will be set at return indentation column.
1638indent_off_after_return         = false    # true/false
1639
1640# If true, the indentation of the chunks after a `return new` sequence will be set at return indentation column.
1641indent_off_after_return_new     = false    # true/false
1642
1643# If true, the tokens after return are indented with regular single indentation. By default (false) the indentation is after the return token.
1644indent_single_after_return      = false    # true/false
1645
1646# Whether to ignore indent and alignment for 'asm' blocks (i.e. assume they
1647# have their own indentation).
1648indent_ignore_asm_block         = false    # true/false
1649
1650# Don't indent the close parenthesis of a function definition,
1651# if the parenthesis is on its own line.
1652donot_indent_func_def_close_paren = false    # true/false
1653
1654#
1655# Newline adding and removing options
1656#
1657
1658# Whether to collapse empty blocks between '{' and '}' except for functions.
1659# Use nl_collapse_empty_body_functions to specify how empty function braces
1660# should be formatted.
1661nl_collapse_empty_body          = true     # true/false
1662
1663# Whether to collapse empty blocks between '{' and '}' for functions only.
1664# If true, overrides nl_inside_empty_func.
1665nl_collapse_empty_body_functions = false    # true/false
1666
1667# Don't split one-line braced assignments, as in 'foo_t f = { 1, 2 };'.
1668nl_assign_leave_one_liners      = false    # true/false
1669
1670# Don't split one-line braced statements inside a 'class xx { }' body.
1671nl_class_leave_one_liners       = false    # true/false
1672
1673# Don't split one-line enums, as in 'enum foo { BAR = 15 };'
1674nl_enum_leave_one_liners        = false    # true/false
1675
1676# Don't split one-line get or set functions.
1677nl_getset_leave_one_liners      = false    # true/false
1678
1679# (C#) Don't split one-line property get or set functions.
1680nl_cs_property_leave_one_liners = false    # true/false
1681
1682# Don't split one-line function definitions, as in 'int foo() { return 0; }'.
1683# might modify nl_func_type_name
1684nl_func_leave_one_liners        = false    # true/false
1685
1686# Don't split one-line C++11 lambdas, as in '[]() { return 0; }'.
1687nl_cpp_lambda_leave_one_liners  = false    # true/false
1688
1689# Don't split one-line if/else statements, as in 'if(...) b++;'.
1690nl_if_leave_one_liners          = false    # true/false
1691
1692# Don't split one-line while statements, as in 'while(...) b++;'.
1693nl_while_leave_one_liners       = false    # true/false
1694
1695# Don't split one-line do statements, as in 'do { b++; } while(...);'.
1696nl_do_leave_one_liners          = false    # true/false
1697
1698# Don't split one-line for statements, as in 'for(...) b++;'.
1699nl_for_leave_one_liners         = false    # true/false
1700
1701# (OC) Don't split one-line Objective-C messages.
1702nl_oc_msg_leave_one_liner       = false    # true/false
1703
1704# (OC) Add or remove newline between method declaration and '{'.
1705nl_oc_mdef_brace                = ignore   # ignore/add/remove/force
1706
1707# (OC) Add or remove newline between Objective-C block signature and '{'.
1708nl_oc_block_brace               = ignore   # ignore/add/remove/force
1709
1710# (OC) Add or remove blank line before '@interface' statement.
1711nl_oc_before_interface          = ignore   # ignore/add/remove/force
1712
1713# (OC) Add or remove blank line before '@implementation' statement.
1714nl_oc_before_implementation     = ignore   # ignore/add/remove/force
1715
1716# (OC) Add or remove blank line before '@end' statement.
1717nl_oc_before_end                = ignore   # ignore/add/remove/force
1718
1719# (OC) Add or remove newline between '@interface' and '{'.
1720nl_oc_interface_brace           = ignore   # ignore/add/remove/force
1721
1722# (OC) Add or remove newline between '@implementation' and '{'.
1723nl_oc_implementation_brace      = ignore   # ignore/add/remove/force
1724
1725# Add or remove newlines at the start of the file.
1726nl_start_of_file                = ignore   # ignore/add/remove/force
1727
1728# The minimum number of newlines at the start of the file (only used if
1729# nl_start_of_file is 'add' or 'force').
1730nl_start_of_file_min            = 0        # unsigned number
1731
1732# Add or remove newline at the end of the file.
1733nl_end_of_file                  = force    # ignore/add/remove/force
1734
1735# The minimum number of newlines at the end of the file (only used if
1736# nl_end_of_file is 'add' or 'force').
1737nl_end_of_file_min              = 1        # unsigned number
1738
1739# Add or remove newline between '=' and '{'.
1740nl_assign_brace                 = remove   # ignore/add/remove/force
1741
1742# (D) Add or remove newline between '=' and '['.
1743nl_assign_square                = ignore   # ignore/add/remove/force
1744
1745# Add or remove newline between '[]' and '{'.
1746nl_tsquare_brace                = ignore   # ignore/add/remove/force
1747
1748# (D) Add or remove newline after '= ['. Will also affect the newline before
1749# the ']'.
1750nl_after_square_assign          = ignore   # ignore/add/remove/force
1751
1752# Add or remove newline between a function call's ')' and '{', as in
1753# 'list_for_each(item, &list) { }'.
1754nl_fcall_brace                  = ignore   # ignore/add/remove/force
1755
1756# Add or remove newline between 'enum' and '{'.
1757nl_enum_brace                   = remove   # ignore/add/remove/force
1758
1759# Add or remove newline between 'enum' and 'class'.
1760nl_enum_class                   = ignore   # ignore/add/remove/force
1761
1762# Add or remove newline between 'enum class' and the identifier.
1763nl_enum_class_identifier        = ignore   # ignore/add/remove/force
1764
1765# Add or remove newline between 'enum class' type and ':'.
1766nl_enum_identifier_colon        = ignore   # ignore/add/remove/force
1767
1768# Add or remove newline between 'enum class identifier :' and type.
1769nl_enum_colon_type              = ignore   # ignore/add/remove/force
1770
1771# Add or remove newline between 'struct and '{'.
1772nl_struct_brace                 = remove   # ignore/add/remove/force
1773
1774# Add or remove newline between 'union' and '{'.
1775nl_union_brace                  = remove   # ignore/add/remove/force
1776
1777# Add or remove newline between 'if' and '{'.
1778nl_if_brace                     = remove   # ignore/add/remove/force
1779
1780# Add or remove newline between '}' and 'else'.
1781nl_brace_else                   = remove   # ignore/add/remove/force
1782
1783# Add or remove newline between 'else if' and '{'. If set to ignore,
1784# nl_if_brace is used instead.
1785nl_elseif_brace                 = ignore   # ignore/add/remove/force
1786
1787# Add or remove newline between 'else' and '{'.
1788nl_else_brace                   = remove   # ignore/add/remove/force
1789
1790# Add or remove newline between 'else' and 'if'.
1791nl_else_if                      = remove   # ignore/add/remove/force
1792
1793# Add or remove newline before '{' opening brace
1794nl_before_opening_brace_func_class_def = ignore   # ignore/add/remove/force
1795
1796# Add or remove newline before 'if'/'else if' closing parenthesis.
1797nl_before_if_closing_paren      = remove   # ignore/add/remove/force
1798
1799# Add or remove newline between '}' and 'finally'.
1800nl_brace_finally                = ignore   # ignore/add/remove/force
1801
1802# Add or remove newline between 'finally' and '{'.
1803nl_finally_brace                = ignore   # ignore/add/remove/force
1804
1805# Add or remove newline between 'try' and '{'.
1806nl_try_brace                    = ignore   # ignore/add/remove/force
1807
1808# Add or remove newline between get/set and '{'.
1809nl_getset_brace                 = ignore   # ignore/add/remove/force
1810
1811# Add or remove newline between 'for' and '{'.
1812nl_for_brace                    = remove   # ignore/add/remove/force
1813
1814# Add or remove newline before the '{' of a 'catch' statement, as in
1815# 'catch (decl) <here> {'.
1816nl_catch_brace                  = ignore   # ignore/add/remove/force
1817
1818# (OC) Add or remove newline before the '{' of a '@catch' statement, as in
1819# '@catch (decl) <here> {'. If set to ignore, nl_catch_brace is used.
1820nl_oc_catch_brace               = ignore   # ignore/add/remove/force
1821
1822# Add or remove newline between '}' and 'catch'.
1823nl_brace_catch                  = ignore   # ignore/add/remove/force
1824
1825# (OC) Add or remove newline between '}' and '@catch'. If set to ignore,
1826# nl_brace_catch is used.
1827nl_oc_brace_catch               = ignore   # ignore/add/remove/force
1828
1829# Add or remove newline between '}' and ']'.
1830nl_brace_square                 = ignore   # ignore/add/remove/force
1831
1832# Add or remove newline between '}' and ')' in a function invocation.
1833nl_brace_fparen                 = remove   # ignore/add/remove/force
1834
1835# Add or remove newline between 'while' and '{'.
1836nl_while_brace                  = remove   # ignore/add/remove/force
1837
1838# (D) Add or remove newline between 'scope (x)' and '{'.
1839nl_scope_brace                  = ignore   # ignore/add/remove/force
1840
1841# (D) Add or remove newline between 'unittest' and '{'.
1842nl_unittest_brace               = ignore   # ignore/add/remove/force
1843
1844# (D) Add or remove newline between 'version (x)' and '{'.
1845nl_version_brace                = ignore   # ignore/add/remove/force
1846
1847# (C#) Add or remove newline between 'using' and '{'.
1848nl_using_brace                  = ignore   # ignore/add/remove/force
1849
1850# Add or remove newline between two open or close braces. Due to general
1851# newline/brace handling, REMOVE may not work.
1852nl_brace_brace                  = ignore   # ignore/add/remove/force
1853
1854# Add or remove newline between 'do' and '{'.
1855nl_do_brace                     = remove   # ignore/add/remove/force
1856
1857# Add or remove newline between '}' and 'while' of 'do' statement.
1858nl_brace_while                  = remove   # ignore/add/remove/force
1859
1860# Add or remove newline between 'switch' and '{'.
1861nl_switch_brace                 = remove   # ignore/add/remove/force
1862
1863# Add or remove newline between 'synchronized' and '{'.
1864nl_synchronized_brace           = ignore   # ignore/add/remove/force
1865
1866# Add a newline between ')' and '{' if the ')' is on a different line than the
1867# if/for/etc.
1868#
1869# Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch and
1870# nl_catch_brace.
1871nl_multi_line_cond              = false    # true/false
1872
1873# Add a newline after '(' if an if/for/while/switch condition spans multiple
1874# lines
1875nl_multi_line_sparen_open       = remove   # ignore/add/remove/force
1876
1877# Add a newline before ')' if an if/for/while/switch condition spans multiple
1878# lines. Overrides nl_before_if_closing_paren if both are specified.
1879nl_multi_line_sparen_close      = remove   # ignore/add/remove/force
1880
1881# Force a newline in a define after the macro name for multi-line defines.
1882nl_multi_line_define            = false    # true/false
1883
1884# Whether to add a newline before 'case', and a blank line before a 'case'
1885# statement that follows a ';' or '}'.
1886nl_before_case                  = false    # true/false
1887
1888# Whether to add a newline after a 'case' statement.
1889nl_after_case                   = true     # true/false
1890
1891# Add or remove newline between a case ':' and '{'.
1892#
1893# Overrides nl_after_case.
1894nl_case_colon_brace             = remove   # ignore/add/remove/force
1895
1896# Add or remove newline between ')' and 'throw'.
1897nl_before_throw                 = ignore   # ignore/add/remove/force
1898
1899# Add or remove newline between 'namespace' and '{'.
1900nl_namespace_brace              = ignore   # ignore/add/remove/force
1901
1902# Add or remove newline after 'template<...>' of a template class.
1903nl_template_class               = ignore   # ignore/add/remove/force
1904
1905# Add or remove newline after 'template<...>' of a template class declaration.
1906#
1907# Overrides nl_template_class.
1908nl_template_class_decl          = ignore   # ignore/add/remove/force
1909
1910# Add or remove newline after 'template<>' of a specialized class declaration.
1911#
1912# Overrides nl_template_class_decl.
1913nl_template_class_decl_special  = ignore   # ignore/add/remove/force
1914
1915# Add or remove newline after 'template<...>' of a template class definition.
1916#
1917# Overrides nl_template_class.
1918nl_template_class_def           = ignore   # ignore/add/remove/force
1919
1920# Add or remove newline after 'template<>' of a specialized class definition.
1921#
1922# Overrides nl_template_class_def.
1923nl_template_class_def_special   = ignore   # ignore/add/remove/force
1924
1925# Add or remove newline after 'template<...>' of a template function.
1926nl_template_func                = ignore   # ignore/add/remove/force
1927
1928# Add or remove newline after 'template<...>' of a template function
1929# declaration.
1930#
1931# Overrides nl_template_func.
1932nl_template_func_decl           = ignore   # ignore/add/remove/force
1933
1934# Add or remove newline after 'template<>' of a specialized function
1935# declaration.
1936#
1937# Overrides nl_template_func_decl.
1938nl_template_func_decl_special   = ignore   # ignore/add/remove/force
1939
1940# Add or remove newline after 'template<...>' of a template function
1941# definition.
1942#
1943# Overrides nl_template_func.
1944nl_template_func_def            = ignore   # ignore/add/remove/force
1945
1946# Add or remove newline after 'template<>' of a specialized function
1947# definition.
1948#
1949# Overrides nl_template_func_def.
1950nl_template_func_def_special    = ignore   # ignore/add/remove/force
1951
1952# Add or remove newline after 'template<...>' of a template variable.
1953nl_template_var                 = ignore   # ignore/add/remove/force
1954
1955# Add or remove newline between 'template<...>' and 'using' of a templated
1956# type alias.
1957nl_template_using               = ignore   # ignore/add/remove/force
1958
1959# Add or remove newline between 'class' and '{'.
1960nl_class_brace                  = ignore   # ignore/add/remove/force
1961
1962# Add or remove newline before or after (depending on pos_class_comma,
1963# may not be IGNORE) each',' in the base class list.
1964nl_class_init_args              = ignore   # ignore/add/remove/force
1965
1966# Add or remove newline after each ',' in the constructor member
1967# initialization. Related to nl_constr_colon, pos_constr_colon and
1968# pos_constr_comma.
1969nl_constr_init_args             = ignore   # ignore/add/remove/force
1970
1971# Add or remove newline before first element, after comma, and after last
1972# element, in 'enum'.
1973nl_enum_own_lines               = ignore   # ignore/add/remove/force
1974
1975# Add or remove newline between return type and function name in a function
1976# definition.
1977# might be modified by nl_func_leave_one_liners
1978nl_func_type_name               = remove   # ignore/add/remove/force
1979
1980# Add or remove newline between return type and function name inside a class
1981# definition. If set to ignore, nl_func_type_name or nl_func_proto_type_name
1982# is used instead.
1983nl_func_type_name_class         = ignore   # ignore/add/remove/force
1984
1985# Add or remove newline between class specification and '::'
1986# in 'void A::f() { }'. Only appears in separate member implementation (does
1987# not appear with in-line implementation).
1988nl_func_class_scope             = ignore   # ignore/add/remove/force
1989
1990# Add or remove newline between function scope and name, as in
1991# 'void A :: <here> f() { }'.
1992nl_func_scope_name              = ignore   # ignore/add/remove/force
1993
1994# Add or remove newline between return type and function name in a prototype.
1995nl_func_proto_type_name         = ignore   # ignore/add/remove/force
1996
1997# Add or remove newline between a function name and the opening '(' in the
1998# declaration.
1999nl_func_paren                   = ignore   # ignore/add/remove/force
2000
2001# Overrides nl_func_paren for functions with no parameters.
2002nl_func_paren_empty             = ignore   # ignore/add/remove/force
2003
2004# Add or remove newline between a function name and the opening '(' in the
2005# definition.
2006nl_func_def_paren               = remove   # ignore/add/remove/force
2007
2008# Overrides nl_func_def_paren for functions with no parameters.
2009nl_func_def_paren_empty         = ignore   # ignore/add/remove/force
2010
2011# Add or remove newline between a function name and the opening '(' in the
2012# call.
2013nl_func_call_paren              = ignore   # ignore/add/remove/force
2014
2015# Overrides nl_func_call_paren for functions with no parameters.
2016nl_func_call_paren_empty        = ignore   # ignore/add/remove/force
2017
2018# Add or remove newline after '(' in a function declaration.
2019nl_func_decl_start              = remove   # ignore/add/remove/force
2020
2021# Add or remove newline after '(' in a function definition.
2022nl_func_def_start               = remove   # ignore/add/remove/force
2023
2024# Overrides nl_func_decl_start when there is only one parameter.
2025nl_func_decl_start_single       = ignore   # ignore/add/remove/force
2026
2027# Overrides nl_func_def_start when there is only one parameter.
2028nl_func_def_start_single        = ignore   # ignore/add/remove/force
2029
2030# Whether to add a newline after '(' in a function declaration if '(' and ')'
2031# are in different lines. If false, nl_func_decl_start is used instead.
2032nl_func_decl_start_multi_line   = false    # true/false
2033
2034# Whether to add a newline after '(' in a function definition if '(' and ')'
2035# are in different lines. If false, nl_func_def_start is used instead.
2036nl_func_def_start_multi_line    = false    # true/false
2037
2038# Add or remove newline after each ',' in a function declaration.
2039nl_func_decl_args               = remove   # ignore/add/remove/force
2040
2041# Add or remove newline after each ',' in a function definition.
2042nl_func_def_args                = remove   # ignore/add/remove/force
2043
2044# Add or remove newline after each ',' in a function call.
2045nl_func_call_args               = ignore   # ignore/add/remove/force
2046
2047# Whether to add a newline after each ',' in a function declaration if '('
2048# and ')' are in different lines. If false, nl_func_decl_args is used instead.
2049nl_func_decl_args_multi_line    = false    # true/false
2050
2051# Whether to add a newline after each ',' in a function definition if '('
2052# and ')' are in different lines. If false, nl_func_def_args is used instead.
2053nl_func_def_args_multi_line     = false    # true/false
2054
2055# Add or remove newline before the ')' in a function declaration.
2056nl_func_decl_end                = remove   # ignore/add/remove/force
2057
2058# Add or remove newline before the ')' in a function definition.
2059nl_func_def_end                 = remove   # ignore/add/remove/force
2060
2061# Overrides nl_func_decl_end when there is only one parameter.
2062nl_func_decl_end_single         = ignore   # ignore/add/remove/force
2063
2064# Overrides nl_func_def_end when there is only one parameter.
2065nl_func_def_end_single          = ignore   # ignore/add/remove/force
2066
2067# Whether to add a newline before ')' in a function declaration if '(' and ')'
2068# are in different lines. If false, nl_func_decl_end is used instead.
2069nl_func_decl_end_multi_line     = false    # true/false
2070
2071# Whether to add a newline before ')' in a function definition if '(' and ')'
2072# are in different lines. If false, nl_func_def_end is used instead.
2073nl_func_def_end_multi_line      = false    # true/false
2074
2075# Add or remove newline between '()' in a function declaration.
2076nl_func_decl_empty              = ignore   # ignore/add/remove/force
2077
2078# Add or remove newline between '()' in a function definition.
2079nl_func_def_empty               = ignore   # ignore/add/remove/force
2080
2081# Add or remove newline between '()' in a function call.
2082nl_func_call_empty              = ignore   # ignore/add/remove/force
2083
2084# Whether to add a newline after '(' in a function call,
2085# has preference over nl_func_call_start_multi_line.
2086nl_func_call_start              = remove   # ignore/add/remove/force
2087
2088# Whether to add a newline before ')' in a function call.
2089nl_func_call_end                = remove   # ignore/add/remove/force
2090
2091# Whether to add a newline after '(' in a function call if '(' and ')' are in
2092# different lines.
2093nl_func_call_start_multi_line   = false    # true/false
2094
2095# Whether to add a newline after each ',' in a function call if '(' and ')'
2096# are in different lines.
2097nl_func_call_args_multi_line    = false    # true/false
2098
2099# Whether to add a newline before ')' in a function call if '(' and ')' are in
2100# different lines.
2101nl_func_call_end_multi_line     = false    # true/false
2102
2103# Whether to respect nl_func_call_XXX option in case of closure args.
2104nl_func_call_args_multi_line_ignore_closures = false    # true/false
2105
2106# Whether to add a newline after '<' of a template parameter list.
2107nl_template_start               = false    # true/false
2108
2109# Whether to add a newline after each ',' in a template parameter list.
2110nl_template_args                = false    # true/false
2111
2112# Whether to add a newline before '>' of a template parameter list.
2113nl_template_end                 = false    # true/false
2114
2115# (OC) Whether to put each Objective-C message parameter on a separate line.
2116# See nl_oc_msg_leave_one_liner.
2117nl_oc_msg_args                  = false    # true/false
2118
2119# (OC) Minimum number of Objective-C message parameters before applying nl_oc_msg_args.
2120nl_oc_msg_args_min_params       = 0        # unsigned number
2121
2122# (OC) Max code width of Objective-C message before applying nl_oc_msg_args.
2123nl_oc_msg_args_max_code_width   = 0        # unsigned number
2124
2125# (OC) Whether to apply nl_oc_msg_args if some of the parameters are already
2126# on new lines. Overrides nl_oc_msg_args_min_params and nl_oc_msg_args_max_code_width.
2127nl_oc_msg_args_finish_multi_line = false    # true/false
2128
2129# Add or remove newline between function signature and '{'.
2130nl_fdef_brace                   = force    # ignore/add/remove/force
2131
2132# Add or remove newline between function signature and '{',
2133# if signature ends with ')'. Overrides nl_fdef_brace.
2134nl_fdef_brace_cond              = ignore   # ignore/add/remove/force
2135
2136# Add or remove newline between C++11 lambda signature and '{'.
2137nl_cpp_ldef_brace               = ignore   # ignore/add/remove/force
2138
2139# Add or remove newline between 'return' and the return expression.
2140nl_return_expr                  = remove   # ignore/add/remove/force
2141
2142# Add or remove newline between 'throw' and the throw expression.
2143nl_throw_expr                   = ignore   # ignore/add/remove/force
2144
2145# Whether to add a newline after semicolons, except in 'for' statements.
2146nl_after_semicolon              = false    # true/false
2147
2148# (Java) Add or remove newline between the ')' and '{{' of the double brace
2149# initializer.
2150nl_paren_dbrace_open            = ignore   # ignore/add/remove/force
2151
2152# Whether to add a newline after the type in an unnamed temporary
2153# direct-list-initialization, better:
2154# before a direct-list-initialization.
2155nl_type_brace_init_lst          = ignore   # ignore/add/remove/force
2156
2157# Whether to add a newline after the open brace in an unnamed temporary
2158# direct-list-initialization.
2159nl_type_brace_init_lst_open     = ignore   # ignore/add/remove/force
2160
2161# Whether to add a newline before the close brace in an unnamed temporary
2162# direct-list-initialization.
2163nl_type_brace_init_lst_close    = ignore   # ignore/add/remove/force
2164
2165# Whether to add a newline before '{'.
2166nl_before_brace_open            = false    # true/false
2167
2168# Whether to add a newline after '{'.
2169nl_after_brace_open             = false    # true/false
2170
2171# Whether to add a newline between the open brace and a trailing single-line
2172# comment. Requires nl_after_brace_open=true.
2173nl_after_brace_open_cmt         = false    # true/false
2174
2175# Whether to add a newline after a virtual brace open with a non-empty body.
2176# These occur in un-braced if/while/do/for statement bodies.
2177nl_after_vbrace_open            = false    # true/false
2178
2179# Whether to add a newline after a virtual brace open with an empty body.
2180# These occur in un-braced if/while/do/for statement bodies.
2181nl_after_vbrace_open_empty      = false    # true/false
2182
2183# Whether to add a newline after '}'. Does not apply if followed by a
2184# necessary ';'.
2185nl_after_brace_close            = false    # true/false
2186
2187# Whether to add a newline after a virtual brace close,
2188# as in 'if (foo) a++; <here> return;'.
2189nl_after_vbrace_close           = false    # true/false
2190
2191# Add or remove newline between the close brace and identifier,
2192# as in 'struct { int a; } <here> b;'. Affects enumerations, unions and
2193# structures. If set to ignore, uses nl_after_brace_close.
2194nl_brace_struct_var             = ignore   # ignore/add/remove/force
2195
2196# Whether to add a newline before/after each '&&' or `||` on the same
2197# nesting level in a boolean expression if boolean expression will not
2198# fit on a line. code_width needs to be positive and pos_bool needs
2199# to be 'lead' or 'trail' for this option to have any effect.
2200nl_bool_expr_hierarchical       = false    # true/false
2201
2202# Whether to alter newlines in '#define' macros.
2203nl_define_macro                 = false    # true/false
2204
2205# Whether to alter newlines between consecutive parenthesis closes. The number
2206# of closing parentheses in a line will depend on respective open parenthesis
2207# lines.
2208nl_squeeze_paren_close          = true     # true/false
2209
2210# Whether to remove blanks after '#ifxx' and '#elxx', or before '#elxx' and
2211# '#endif'. Does not affect top-level #ifdefs.
2212nl_squeeze_ifdef                = false    # true/false
2213
2214# Makes the nl_squeeze_ifdef option affect the top-level #ifdefs as well.
2215nl_squeeze_ifdef_top_level      = false    # true/false
2216
2217# Add or remove blank line before 'if'.
2218nl_before_if                    = ignore   # ignore/add/remove/force
2219
2220# Add or remove blank line after 'if' statement. Add/Force work only if the
2221# next token is not a closing brace.
2222nl_after_if                     = ignore   # ignore/add/remove/force
2223
2224# Add or remove blank line before 'for'.
2225nl_before_for                   = ignore   # ignore/add/remove/force
2226
2227# Add or remove blank line after 'for' statement.
2228nl_after_for                    = ignore   # ignore/add/remove/force
2229
2230# Add or remove blank line before 'while'.
2231nl_before_while                 = ignore   # ignore/add/remove/force
2232
2233# Add or remove blank line after 'while' statement.
2234nl_after_while                  = ignore   # ignore/add/remove/force
2235
2236# Add or remove blank line before 'switch'.
2237nl_before_switch                = ignore   # ignore/add/remove/force
2238
2239# Add or remove blank line after 'switch' statement.
2240nl_after_switch                 = ignore   # ignore/add/remove/force
2241
2242# Add or remove blank line before 'synchronized'.
2243nl_before_synchronized          = ignore   # ignore/add/remove/force
2244
2245# Add or remove blank line after 'synchronized' statement.
2246nl_after_synchronized           = ignore   # ignore/add/remove/force
2247
2248# Add or remove blank line before 'do'.
2249nl_before_do                    = ignore   # ignore/add/remove/force
2250
2251# Add or remove blank line after 'do/while' statement.
2252nl_after_do                     = ignore   # ignore/add/remove/force
2253
2254# Ignore nl_before_{if,for,switch,do,synchronized} if the control
2255# statement is immediately after a case statement.
2256# if nl_before_{if,for,switch,do} is set to remove, this option
2257# does nothing.
2258nl_before_ignore_after_case     = false    # true/false
2259
2260# Whether to put a blank line before 'return' statements, unless after an open
2261# brace.
2262nl_before_return                = false    # true/false
2263
2264# Whether to put a blank line after 'return' statements, unless followed by a
2265# close brace.
2266nl_after_return                 = false    # true/false
2267
2268# Whether to put a blank line before a member '.' or '->' operators.
2269nl_before_member                = ignore   # ignore/add/remove/force
2270
2271# (Java) Whether to put a blank line after a member '.' or '->' operators.
2272nl_after_member                 = ignore   # ignore/add/remove/force
2273
2274# Whether to double-space commented-entries in 'struct'/'union'/'enum'.
2275nl_ds_struct_enum_cmt           = false    # true/false
2276
2277# Whether to force a newline before '}' of a 'struct'/'union'/'enum'.
2278# (Lower priority than eat_blanks_before_close_brace.)
2279nl_ds_struct_enum_close_brace   = false    # true/false
2280
2281# Add or remove newline before or after (depending on pos_class_colon) a class
2282# colon, as in 'class Foo <here> : <or here> public Bar'.
2283nl_class_colon                  = ignore   # ignore/add/remove/force
2284
2285# Add or remove newline around a class constructor colon. The exact position
2286# depends on nl_constr_init_args, pos_constr_colon and pos_constr_comma.
2287nl_constr_colon                 = ignore   # ignore/add/remove/force
2288
2289# Whether to collapse a two-line namespace, like 'namespace foo\n{ decl; }'
2290# into a single line. If true, prevents other brace newline rules from turning
2291# such code into four lines. If true, it also preserves one-liner namespaces.
2292nl_namespace_two_to_one_liner   = false    # true/false
2293
2294# Whether to remove a newline in simple unbraced if statements, turning them
2295# into one-liners, as in 'if(b)\n i++;' => 'if(b) i++;'.
2296nl_create_if_one_liner          = false    # true/false
2297
2298# Whether to remove a newline in simple unbraced for statements, turning them
2299# into one-liners, as in 'for (...)\n stmt;' => 'for (...) stmt;'.
2300nl_create_for_one_liner         = false    # true/false
2301
2302# Whether to remove a newline in simple unbraced while statements, turning
2303# them into one-liners, as in 'while (expr)\n stmt;' => 'while (expr) stmt;'.
2304nl_create_while_one_liner       = false    # true/false
2305
2306# Whether to collapse a function definition whose body (not counting braces)
2307# is only one line so that the entire definition (prototype, braces, body) is
2308# a single line.
2309nl_create_func_def_one_liner    = false    # true/false
2310
2311# Whether to split one-line simple list definitions into three lines by
2312# adding newlines, as in 'int a[12] = { <here> 0 <here> };'.
2313nl_create_list_one_liner        = false    # true/false
2314
2315# Whether to split one-line simple unbraced if statements into two lines by
2316# adding a newline, as in 'if(b) <here> i++;'.
2317nl_split_if_one_liner           = false    # true/false
2318
2319# Whether to split one-line simple unbraced for statements into two lines by
2320# adding a newline, as in 'for (...) <here> stmt;'.
2321nl_split_for_one_liner          = false    # true/false
2322
2323# Whether to split one-line simple unbraced while statements into two lines by
2324# adding a newline, as in 'while (expr) <here> stmt;'.
2325nl_split_while_one_liner        = false    # true/false
2326
2327# Don't add a newline before a cpp-comment in a parameter list of a function
2328# call.
2329donot_add_nl_before_cpp_comment = false    # true/false
2330
2331#
2332# Blank line options
2333#
2334
2335# The maximum number of consecutive newlines (3 = 2 blank lines).
2336nl_max                          = 2        # unsigned number
2337
2338# The maximum number of consecutive newlines in a function.
2339nl_max_blank_in_func            = 0        # unsigned number
2340
2341# The number of newlines inside an empty function body.
2342# This option overrides eat_blanks_after_open_brace and
2343# eat_blanks_before_close_brace, but is ignored when
2344# nl_collapse_empty_body_functions=true
2345nl_inside_empty_func            = 0        # unsigned number
2346
2347# The number of newlines before a function prototype.
2348nl_before_func_body_proto       = 0        # unsigned number
2349
2350# The number of newlines before a multi-line function definition. Where
2351# applicable, this option is overridden with eat_blanks_after_open_brace=true
2352nl_before_func_body_def         = 0        # unsigned number
2353
2354# The number of newlines before a class constructor/destructor prototype.
2355nl_before_func_class_proto      = 0        # unsigned number
2356
2357# The number of newlines before a class constructor/destructor definition.
2358nl_before_func_class_def        = 0        # unsigned number
2359
2360# The number of newlines after a function prototype.
2361nl_after_func_proto             = 0        # unsigned number
2362
2363# The number of newlines after a function prototype, if not followed by
2364# another function prototype.
2365nl_after_func_proto_group       = 0        # unsigned number
2366
2367# The number of newlines after a class constructor/destructor prototype.
2368nl_after_func_class_proto       = 0        # unsigned number
2369
2370# The number of newlines after a class constructor/destructor prototype,
2371# if not followed by another constructor/destructor prototype.
2372nl_after_func_class_proto_group = 0        # unsigned number
2373
2374# Whether one-line method definitions inside a class body should be treated
2375# as if they were prototypes for the purposes of adding newlines.
2376#
2377# Requires nl_class_leave_one_liners=true. Overrides nl_before_func_body_def
2378# and nl_before_func_class_def for one-liners.
2379nl_class_leave_one_liner_groups = false    # true/false
2380
2381# The number of newlines after '}' of a multi-line function body.
2382#
2383# Overrides nl_min_after_func_body and nl_max_after_func_body.
2384nl_after_func_body              = 0        # unsigned number
2385
2386# The minimum number of newlines after '}' of a multi-line function body.
2387#
2388# Only works when nl_after_func_body is 0.
2389nl_min_after_func_body          = 0        # unsigned number
2390
2391# The maximum number of newlines after '}' of a multi-line function body.
2392#
2393# Only works when nl_after_func_body is 0.
2394# Takes precedence over nl_min_after_func_body.
2395nl_max_after_func_body          = 0        # unsigned number
2396
2397# The number of newlines after '}' of a multi-line function body in a class
2398# declaration. Also affects class constructors/destructors.
2399#
2400# Overrides nl_after_func_body.
2401nl_after_func_body_class        = 0        # unsigned number
2402
2403# The number of newlines after '}' of a single line function body. Also
2404# affects class constructors/destructors.
2405#
2406# Overrides nl_after_func_body and nl_after_func_body_class.
2407nl_after_func_body_one_liner    = 0        # unsigned number
2408
2409# The number of newlines before a block of typedefs. If nl_after_access_spec
2410# is non-zero, that option takes precedence.
2411#
2412# 0: No change (default).
2413nl_typedef_blk_start            = 0        # unsigned number
2414
2415# The number of newlines after a block of typedefs.
2416#
2417# 0: No change (default).
2418nl_typedef_blk_end              = 0        # unsigned number
2419
2420# The maximum number of consecutive newlines within a block of typedefs.
2421#
2422# 0: No change (default).
2423nl_typedef_blk_in               = 0        # unsigned number
2424
2425# The minimum number of blank lines after a block of variable definitions
2426# at the top of a function body. If any preprocessor directives appear
2427# between the opening brace of the function and the variable block, then
2428# it is considered as not at the top of the function.Newlines are added
2429# before trailing preprocessor directives, if any exist.
2430#
2431# 0: No change (default).
2432nl_var_def_blk_end_func_top     = 0        # unsigned number
2433
2434# The minimum number of empty newlines before a block of variable definitions
2435# not at the top of a function body. If nl_after_access_spec is non-zero,
2436# that option takes precedence. Newlines are not added at the top of the
2437# file or just after an opening brace. Newlines are added above any
2438# preprocessor directives before the block.
2439#
2440# 0: No change (default).
2441nl_var_def_blk_start            = 0        # unsigned number
2442
2443# The minimum number of empty newlines after a block of variable definitions
2444# not at the top of a function body. Newlines are not added if the block
2445# is at the bottom of the file or just before a preprocessor directive.
2446#
2447# 0: No change (default).
2448nl_var_def_blk_end              = 0        # unsigned number
2449
2450# The maximum number of consecutive newlines within a block of variable
2451# definitions.
2452#
2453# 0: No change (default).
2454nl_var_def_blk_in               = 0        # unsigned number
2455
2456# The minimum number of newlines before a multi-line comment.
2457# Doesn't apply if after a brace open or another multi-line comment.
2458nl_before_block_comment         = 0        # unsigned number
2459
2460# The minimum number of newlines before a single-line C comment.
2461# Doesn't apply if after a brace open or other single-line C comments.
2462nl_before_c_comment             = 0        # unsigned number
2463
2464# The minimum number of newlines before a CPP comment.
2465# Doesn't apply if after a brace open or other CPP comments.
2466nl_before_cpp_comment           = 0        # unsigned number
2467
2468# Whether to force a newline after a multi-line comment.
2469nl_after_multiline_comment      = false    # true/false
2470
2471# Whether to force a newline after a label's colon.
2472nl_after_label_colon            = false    # true/false
2473
2474# The number of newlines before a struct definition.
2475nl_before_struct                = 0        # unsigned number
2476
2477# The number of newlines after '}' or ';' of a struct/enum/union definition.
2478nl_after_struct                 = 0        # unsigned number
2479
2480# The number of newlines before a class definition.
2481nl_before_class                 = 0        # unsigned number
2482
2483# The number of newlines after '}' or ';' of a class definition.
2484nl_after_class                  = 0        # unsigned number
2485
2486# The number of newlines before a namespace.
2487nl_before_namespace             = 0        # unsigned number
2488
2489# The number of newlines after '{' of a namespace. This also adds newlines
2490# before the matching '}'.
2491#
2492# 0: Apply eat_blanks_after_open_brace or eat_blanks_before_close_brace if
2493#     applicable, otherwise no change.
2494#
2495# Overrides eat_blanks_after_open_brace and eat_blanks_before_close_brace.
2496nl_inside_namespace             = 0        # unsigned number
2497
2498# The number of newlines after '}' of a namespace.
2499nl_after_namespace              = 0        # unsigned number
2500
2501# The number of newlines before an access specifier label. This also includes
2502# the Qt-specific 'signals:' and 'slots:'. Will not change the newline count
2503# if after a brace open.
2504#
2505# 0: No change (default).
2506nl_before_access_spec           = 0        # unsigned number
2507
2508# The number of newlines after an access specifier label. This also includes
2509# the Qt-specific 'signals:' and 'slots:'. Will not change the newline count
2510# if after a brace open.
2511#
2512# 0: No change (default).
2513#
2514# Overrides nl_typedef_blk_start and nl_var_def_blk_start.
2515nl_after_access_spec            = 0        # unsigned number
2516
2517# The number of newlines between a function definition and the function
2518# comment, as in '/* comment */ <here> void foo() {...}'.
2519#
2520# 0: No change (default).
2521nl_comment_func_def             = 0        # unsigned number
2522
2523# The number of newlines after a try-catch-finally block that isn't followed
2524# by a brace close.
2525#
2526# 0: No change (default).
2527nl_after_try_catch_finally      = 0        # unsigned number
2528
2529# (C#) The number of newlines before and after a property, indexer or event
2530# declaration.
2531#
2532# 0: No change (default).
2533nl_around_cs_property           = 0        # unsigned number
2534
2535# (C#) The number of newlines between the get/set/add/remove handlers.
2536#
2537# 0: No change (default).
2538nl_between_get_set              = 0        # unsigned number
2539
2540# (C#) Add or remove newline between property and the '{'.
2541nl_property_brace               = ignore   # ignore/add/remove/force
2542
2543# Whether to remove blank lines after '{'.
2544eat_blanks_after_open_brace     = true     # true/false
2545
2546# Whether to remove blank lines before '}'.
2547eat_blanks_before_close_brace   = true     # true/false
2548
2549# How aggressively to remove extra newlines not in preprocessor.
2550#
2551# 0: No change (default)
2552# 1: Remove most newlines not handled by other config
2553# 2: Remove all newlines and reformat completely by config
2554nl_remove_extra_newlines        = 0        # unsigned number
2555
2556# (Java) Add or remove newline after an annotation statement. Only affects
2557# annotations that are after a newline.
2558nl_after_annotation             = ignore   # ignore/add/remove/force
2559
2560# (Java) Add or remove newline between two annotations.
2561nl_between_annotation           = ignore   # ignore/add/remove/force
2562
2563# The number of newlines before a whole-file #ifdef.
2564#
2565# 0: No change (default).
2566nl_before_whole_file_ifdef      = 0        # unsigned number
2567
2568# The number of newlines after a whole-file #ifdef.
2569#
2570# 0: No change (default).
2571nl_after_whole_file_ifdef       = 0        # unsigned number
2572
2573# The number of newlines before a whole-file #endif.
2574#
2575# 0: No change (default).
2576nl_before_whole_file_endif      = 0        # unsigned number
2577
2578# The number of newlines after a whole-file #endif.
2579#
2580# 0: No change (default).
2581nl_after_whole_file_endif       = 0        # unsigned number
2582
2583#
2584# Positioning options
2585#
2586
2587# The position of arithmetic operators in wrapped expressions.
2588pos_arith                       = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2589
2590# The position of assignment in wrapped expressions. Do not affect '='
2591# followed by '{'.
2592pos_assign                      = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2593
2594# The position of Boolean operators in wrapped expressions.
2595pos_bool                        = lead     # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2596
2597# The position of comparison operators in wrapped expressions.
2598pos_compare                     = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2599
2600# The position of conditional operators, as in the '?' and ':' of
2601# 'expr ? stmt : stmt', in wrapped expressions.
2602pos_conditional                 = lead     # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2603
2604# The position of the comma in wrapped expressions.
2605pos_comma                       = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2606
2607# The position of the comma in enum entries.
2608pos_enum_comma                  = trail    # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2609
2610# The position of the comma in the base class list if there is more than one
2611# line. Affects nl_class_init_args.
2612pos_class_comma                 = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2613
2614# The position of the comma in the constructor initialization list.
2615# Related to nl_constr_colon, nl_constr_init_args and pos_constr_colon.
2616pos_constr_comma                = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2617
2618# The position of trailing/leading class colon, between class and base class
2619# list. Affects nl_class_colon.
2620pos_class_colon                 = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2621
2622# The position of colons between constructor and member initialization.
2623# Related to nl_constr_colon, nl_constr_init_args and pos_constr_comma.
2624pos_constr_colon                = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2625
2626# The position of shift operators in wrapped expressions.
2627pos_shift                       = ignore   # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
2628
2629#
2630# Line splitting options
2631#
2632
2633# Try to limit code width to N columns.
2634code_width                      = 100      # unsigned number
2635
2636# Whether to fully split long 'for' statements at semi-colons.
2637ls_for_split_full               = false    # true/false
2638
2639# Whether to fully split long function prototypes/calls at commas.
2640# The option ls_code_width has priority over the option ls_func_split_full.
2641ls_func_split_full              = false    # true/false
2642
2643# Whether to split lines as close to code_width as possible and ignore some
2644# groupings.
2645# The option ls_code_width has priority over the option ls_func_split_full.
2646ls_code_width                   = false    # true/false
2647
2648#
2649# Code alignment options (not left column spaces/tabs)
2650#
2651
2652# Whether to keep non-indenting tabs.
2653align_keep_tabs                 = false    # true/false
2654
2655# Whether to use tabs for aligning.
2656align_with_tabs                 = false    # true/false
2657
2658# Whether to bump out to the next tab when aligning.
2659align_on_tabstop                = false    # true/false
2660
2661# Whether to right-align numbers.
2662align_number_right              = false    # true/false
2663
2664# Whether to keep whitespace not required for alignment.
2665align_keep_extra_space          = false    # true/false
2666
2667# Whether to align variable definitions in prototypes and functions.
2668align_func_params               = false    # true/false
2669
2670# The span for aligning parameter definitions in function on parameter name.
2671#
2672# 0: Don't align (default).
2673align_func_params_span          = 0        # unsigned number
2674
2675# The threshold for aligning function parameter definitions.
2676# Use a negative number for absolute thresholds.
2677#
2678# 0: No limit (default).
2679align_func_params_thresh        = 0        # number
2680
2681# The gap for aligning function parameter definitions.
2682align_func_params_gap           = 0        # unsigned number
2683
2684# The span for aligning constructor value.
2685#
2686# 0: Don't align (default).
2687align_constr_value_span         = 0        # unsigned number
2688
2689# The threshold for aligning constructor value.
2690# Use a negative number for absolute thresholds.
2691#
2692# 0: No limit (default).
2693align_constr_value_thresh       = 0        # number
2694
2695# The gap for aligning constructor value.
2696align_constr_value_gap          = 0        # unsigned number
2697
2698# Whether to align parameters in single-line functions that have the same
2699# name. The function names must already be aligned with each other.
2700align_same_func_call_params     = false    # true/false
2701
2702# The span for aligning function-call parameters for single line functions.
2703#
2704# 0: Don't align (default).
2705align_same_func_call_params_span = 0        # unsigned number
2706
2707# The threshold for aligning function-call parameters for single line
2708# functions.
2709# Use a negative number for absolute thresholds.
2710#
2711# 0: No limit (default).
2712align_same_func_call_params_thresh = 0        # number
2713
2714# The span for aligning variable definitions.
2715#
2716# 0: Don't align (default).
2717align_var_def_span              = 0        # unsigned number
2718
2719# How to consider (or treat) the '*' in the alignment of variable definitions.
2720#
2721# 0: Part of the type     'void *   foo;' (default)
2722# 1: Part of the variable 'void     *foo;'
2723# 2: Dangling             'void    *foo;'
2724# Dangling: the '*' will not be taken into account when aligning.
2725align_var_def_star_style        = 0        # unsigned number
2726
2727# How to consider (or treat) the '&' in the alignment of variable definitions.
2728#
2729# 0: Part of the type     'long &   foo;' (default)
2730# 1: Part of the variable 'long     &foo;'
2731# 2: Dangling             'long    &foo;'
2732# Dangling: the '&' will not be taken into account when aligning.
2733align_var_def_amp_style         = 0        # unsigned number
2734
2735# The threshold for aligning variable definitions.
2736# Use a negative number for absolute thresholds.
2737#
2738# 0: No limit (default).
2739align_var_def_thresh            = 0        # number
2740
2741# The gap for aligning variable definitions.
2742align_var_def_gap               = 0        # unsigned number
2743
2744# Whether to align the colon in struct bit fields.
2745align_var_def_colon             = false    # true/false
2746
2747# The gap for aligning the colon in struct bit fields.
2748align_var_def_colon_gap         = 0        # unsigned number
2749
2750# Whether to align any attribute after the variable name.
2751align_var_def_attribute         = false    # true/false
2752
2753# Whether to align inline struct/enum/union variable definitions.
2754align_var_def_inline            = false    # true/false
2755
2756# The span for aligning on '=' in assignments.
2757#
2758# 0: Don't align (default).
2759align_assign_span               = 0        # unsigned number
2760
2761# The span for aligning on '=' in function prototype modifier.
2762#
2763# 0: Don't align (default).
2764align_assign_func_proto_span    = 0        # unsigned number
2765
2766# The threshold for aligning on '=' in assignments.
2767# Use a negative number for absolute thresholds.
2768#
2769# 0: No limit (default).
2770align_assign_thresh             = 0        # number
2771
2772# Whether to align on the left most assignment when multiple
2773# definitions are found on the same line.
2774# Depends on 'align_assign_span' and 'align_assign_thresh' settings.
2775align_assign_on_multi_var_defs  = false    # true/false
2776
2777# The span for aligning on '{' in braced init list.
2778#
2779# 0: Don't align (default).
2780align_braced_init_list_span     = 0        # unsigned number
2781
2782# The threshold for aligning on '{' in braced init list.
2783# Use a negative number for absolute thresholds.
2784#
2785# 0: No limit (default).
2786align_braced_init_list_thresh   = 0        # number
2787
2788# How to apply align_assign_span to function declaration "assignments", i.e.
2789# 'virtual void foo() = 0' or '~foo() = {default|delete}'.
2790#
2791# 0: Align with other assignments (default)
2792# 1: Align with each other, ignoring regular assignments
2793# 2: Don't align
2794align_assign_decl_func          = 0        # unsigned number
2795
2796# The span for aligning on '=' in enums.
2797#
2798# 0: Don't align (default).
2799align_enum_equ_span             = 0        # unsigned number
2800
2801# The threshold for aligning on '=' in enums.
2802# Use a negative number for absolute thresholds.
2803#
2804# 0: no limit (default).
2805align_enum_equ_thresh           = 0        # number
2806
2807# The span for aligning class member definitions.
2808#
2809# 0: Don't align (default).
2810align_var_class_span            = 0        # unsigned number
2811
2812# The threshold for aligning class member definitions.
2813# Use a negative number for absolute thresholds.
2814#
2815# 0: No limit (default).
2816align_var_class_thresh          = 0        # number
2817
2818# The gap for aligning class member definitions.
2819align_var_class_gap             = 0        # unsigned number
2820
2821# The span for aligning struct/union member definitions.
2822#
2823# 0: Don't align (default).
2824align_var_struct_span           = 0        # unsigned number
2825
2826# The threshold for aligning struct/union member definitions.
2827# Use a negative number for absolute thresholds.
2828#
2829# 0: No limit (default).
2830align_var_struct_thresh         = 0        # number
2831
2832# The gap for aligning struct/union member definitions.
2833align_var_struct_gap            = 0        # unsigned number
2834
2835# The span for aligning struct initializer values.
2836#
2837# 0: Don't align (default).
2838align_struct_init_span          = 0        # unsigned number
2839
2840# The span for aligning single-line typedefs.
2841#
2842# 0: Don't align (default).
2843align_typedef_span              = 0        # unsigned number
2844
2845# The minimum space between the type and the synonym of a typedef.
2846align_typedef_gap               = 0        # unsigned number
2847
2848# How to align typedef'd functions with other typedefs.
2849#
2850# 0: Don't mix them at all (default)
2851# 1: Align the open parenthesis with the types
2852# 2: Align the function type name with the other type names
2853align_typedef_func              = 0        # unsigned number
2854
2855# How to consider (or treat) the '*' in the alignment of typedefs.
2856#
2857# 0: Part of the typedef type, 'typedef int * pint;' (default)
2858# 1: Part of type name:        'typedef int   *pint;'
2859# 2: Dangling:                 'typedef int  *pint;'
2860# Dangling: the '*' will not be taken into account when aligning.
2861align_typedef_star_style        = 0        # unsigned number
2862
2863# How to consider (or treat) the '&' in the alignment of typedefs.
2864#
2865# 0: Part of the typedef type, 'typedef int & intref;' (default)
2866# 1: Part of type name:        'typedef int   &intref;'
2867# 2: Dangling:                 'typedef int  &intref;'
2868# Dangling: the '&' will not be taken into account when aligning.
2869align_typedef_amp_style         = 0        # unsigned number
2870
2871# The span for aligning comments that end lines.
2872#
2873# 0: Don't align (default).
2874align_right_cmt_span            = 0        # unsigned number
2875
2876# Minimum number of columns between preceding text and a trailing comment in
2877# order for the comment to qualify for being aligned. Must be non-zero to have
2878# an effect.
2879align_right_cmt_gap             = 0        # unsigned number
2880
2881# If aligning comments, whether to mix with comments after '}' and #endif with
2882# less than three spaces before the comment.
2883align_right_cmt_mix             = false    # true/false
2884
2885# Whether to only align trailing comments that are at the same brace level.
2886align_right_cmt_same_level      = false    # true/false
2887
2888# Minimum column at which to align trailing comments. Comments which are
2889# aligned beyond this column, but which can be aligned in a lesser column,
2890# may be "pulled in".
2891#
2892# 0: Ignore (default).
2893align_right_cmt_at_col          = 0        # unsigned number
2894
2895# The span for aligning function prototypes.
2896#
2897# 0: Don't align (default).
2898align_func_proto_span           = 0        # unsigned number
2899
2900# Whether to ignore continuation lines when evaluating the number of
2901# new lines for the function prototype alignment's span.
2902#
2903# false: continuation lines are part of the newlines count
2904# true:  continuation lines are not counted
2905align_func_proto_span_ignore_cont_lines = false    # true/false
2906
2907# How to consider (or treat) the '*' in the alignment of function prototypes.
2908#
2909# 0: Part of the type     'void *   foo();' (default)
2910# 1: Part of the function 'void     *foo();'
2911# 2: Dangling             'void    *foo();'
2912# Dangling: the '*' will not be taken into account when aligning.
2913align_func_proto_star_style     = 0        # unsigned number
2914
2915# How to consider (or treat) the '&' in the alignment of function prototypes.
2916#
2917# 0: Part of the type     'long &   foo();' (default)
2918# 1: Part of the function 'long     &foo();'
2919# 2: Dangling             'long    &foo();'
2920# Dangling: the '&' will not be taken into account when aligning.
2921align_func_proto_amp_style      = 0        # unsigned number
2922
2923# The threshold for aligning function prototypes.
2924# Use a negative number for absolute thresholds.
2925#
2926# 0: No limit (default).
2927align_func_proto_thresh         = 0        # number
2928
2929# Minimum gap between the return type and the function name.
2930align_func_proto_gap            = 0        # unsigned number
2931
2932# Whether to align function prototypes on the 'operator' keyword instead of
2933# what follows.
2934align_on_operator               = false    # true/false
2935
2936# Whether to mix aligning prototype and variable declarations. If true,
2937# align_var_def_XXX options are used instead of align_func_proto_XXX options.
2938align_mix_var_proto             = false    # true/false
2939
2940# Whether to align single-line functions with function prototypes.
2941# Uses align_func_proto_span.
2942align_single_line_func          = false    # true/false
2943
2944# Whether to align the open brace of single-line functions.
2945# Requires align_single_line_func=true. Uses align_func_proto_span.
2946align_single_line_brace         = false    # true/false
2947
2948# Gap for align_single_line_brace.
2949align_single_line_brace_gap     = 0        # unsigned number
2950
2951# (OC) The span for aligning Objective-C message specifications.
2952#
2953# 0: Don't align (default).
2954align_oc_msg_spec_span          = 0        # unsigned number
2955
2956# Whether and how to align backslashes that split a macro onto multiple lines.
2957# This will not work right if the macro contains a multi-line comment.
2958#
2959# 0: Do nothing (default)
2960# 1: Align the backslashes in the column at the end of the longest line
2961# 2: Align with the backslash that is farthest to the left, or, if that
2962#    backslash is farther left than the end of the longest line, at the end of
2963#    the longest line
2964# 3: Align with the backslash that is farthest to the right
2965align_nl_cont                   = 0        # unsigned number
2966
2967# The minimum number of spaces between the end of a line and its continuation
2968# backslash. Requires align_nl_cont.
2969#
2970# Default: 1
2971align_nl_cont_spaces            = 1        # unsigned number
2972
2973# Whether to align macro functions and variables together.
2974align_pp_define_together        = false    # true/false
2975
2976# The span for aligning on '#define' bodies.
2977#
2978# =0: Don't align (default)
2979# >0: Number of lines (including comments) between blocks
2980align_pp_define_span            = 0        # unsigned number
2981
2982# The minimum space between label and value of a preprocessor define.
2983align_pp_define_gap             = 0        # unsigned number
2984
2985# Whether to align lines that start with '<<' with previous '<<'.
2986#
2987# Default: true
2988align_left_shift                = true     # true/false
2989
2990# Whether to align comma-separated statements following '<<' (as used to
2991# initialize Eigen matrices).
2992align_eigen_comma_init          = false    # true/false
2993
2994# Whether to align text after 'asm volatile ()' colons.
2995align_asm_colon                 = false    # true/false
2996
2997# (OC) Span for aligning parameters in an Objective-C message call
2998# on the ':'.
2999#
3000# 0: Don't align.
3001align_oc_msg_colon_span         = 0        # unsigned number
3002
3003# (OC) Whether to always align with the first parameter, even if it is too
3004# short.
3005align_oc_msg_colon_first        = false    # true/false
3006
3007# (OC) Whether to align parameters in an Objective-C '+' or '-' declaration
3008# on the ':'.
3009align_oc_decl_colon             = false    # true/false
3010
3011# (OC) Whether to not align parameters in an Objectve-C message call if first
3012# colon is not on next line of the message call (the same way Xcode does
3013# alignment)
3014align_oc_msg_colon_xcode_like   = false    # true/false
3015
3016#
3017# Comment modification options
3018#
3019
3020# Try to wrap comments at N columns.
3021cmt_width                       = 0        # unsigned number
3022
3023# How to reflow comments.
3024#
3025# 0: No reflowing (apart from the line wrapping due to cmt_width) (default)
3026# 1: No touching at all
3027# 2: Full reflow (enable cmt_indent_multi for indent with line wrapping due to cmt_width)
3028cmt_reflow_mode                 = 0        # unsigned number
3029
3030# Path to a file that contains regular expressions describing patterns for
3031# which the end of one line and the beginning of the next will be folded into
3032# the same sentence or paragraph during full comment reflow. The regular
3033# expressions are described using ECMAScript syntax. The syntax for this
3034# specification is as follows, where "..." indicates the custom regular
3035# expression and "n" indicates the nth end_of_prev_line_regex and
3036# beg_of_next_line_regex regular expression pair:
3037#
3038# end_of_prev_line_regex[1] = "...$"
3039# beg_of_next_line_regex[1] = "^..."
3040# end_of_prev_line_regex[2] = "...$"
3041# beg_of_next_line_regex[2] = "^..."
3042#             .
3043#             .
3044#             .
3045# end_of_prev_line_regex[n] = "...$"
3046# beg_of_next_line_regex[n] = "^..."
3047#
3048# Note that use of this option overrides the default reflow fold regular
3049# expressions, which are internally defined as follows:
3050#
3051# end_of_prev_line_regex[1] = "[\w,\]\)]$"
3052# beg_of_next_line_regex[1] = "^[\w,\[\(]"
3053# end_of_prev_line_regex[2] = "\.$"
3054# beg_of_next_line_regex[2] = "^[A-Z]"
3055cmt_reflow_fold_regex_file      = ""         # string
3056
3057# Whether to indent wrapped lines to the start of the encompassing paragraph
3058# during full comment reflow (cmt_reflow_mode = 2). Overrides the value
3059# specified by cmt_sp_after_star_cont.
3060#
3061# Note that cmt_align_doxygen_javadoc_tags overrides this option for
3062# paragraphs associated with javadoc tags
3063cmt_reflow_indent_to_paragraph_start = false    # true/false
3064
3065# Whether to convert all tabs to spaces in comments. If false, tabs in
3066# comments are left alone, unless used for indenting.
3067cmt_convert_tab_to_spaces       = true     # true/false
3068
3069# Whether to apply changes to multi-line comments, including cmt_width,
3070# keyword substitution and leading chars.
3071#
3072# Default: true
3073cmt_indent_multi                = true     # true/false
3074
3075# Whether to align doxygen javadoc-style tags ('@param', '@return', etc.)
3076# and corresponding fields such that groups of consecutive block tags,
3077# parameter names, and descriptions align with one another. Overrides that
3078# which is specified by the cmt_sp_after_star_cont. If cmt_width > 0, it may
3079# be necessary to enable cmt_indent_multi and set cmt_reflow_mode = 2
3080# in order to achieve the desired alignment for line-wrapping.
3081cmt_align_doxygen_javadoc_tags  = false    # true/false
3082
3083# The number of spaces to insert after the star and before doxygen
3084# javadoc-style tags (@param, @return, etc). Requires enabling
3085# cmt_align_doxygen_javadoc_tags. Overrides that which is specified by the
3086# cmt_sp_after_star_cont.
3087#
3088# Default: 1
3089cmt_sp_before_doxygen_javadoc_tags = 1        # unsigned number
3090
3091# Whether to change trailing, single-line c-comments into cpp-comments.
3092cmt_trailing_single_line_c_to_cpp = true     # true/false
3093
3094# Whether to group c-comments that look like they are in a block.
3095cmt_c_group                     = false    # true/false
3096
3097# Whether to put an empty '/*' on the first line of the combined c-comment.
3098cmt_c_nl_start                  = false    # true/false
3099
3100# Whether to add a newline before the closing '*/' of the combined c-comment.
3101cmt_c_nl_end                    = false    # true/false
3102
3103# Whether to change cpp-comments into c-comments.
3104cmt_cpp_to_c                    = false    # true/false
3105
3106# Whether to group cpp-comments that look like they are in a block. Only
3107# meaningful if cmt_cpp_to_c=true.
3108cmt_cpp_group                   = false    # true/false
3109
3110# Whether to put an empty '/*' on the first line of the combined cpp-comment
3111# when converting to a c-comment.
3112#
3113# Requires cmt_cpp_to_c=true and cmt_cpp_group=true.
3114cmt_cpp_nl_start                = false    # true/false
3115
3116# Whether to add a newline before the closing '*/' of the combined cpp-comment
3117# when converting to a c-comment.
3118#
3119# Requires cmt_cpp_to_c=true and cmt_cpp_group=true.
3120cmt_cpp_nl_end                  = false    # true/false
3121
3122# Whether to put a star on subsequent comment lines.
3123cmt_star_cont                   = false    # true/false
3124
3125# The number of spaces to insert at the start of subsequent comment lines.
3126cmt_sp_before_star_cont         = 0        # unsigned number
3127
3128# The number of spaces to insert after the star on subsequent comment lines.
3129cmt_sp_after_star_cont          = 0        # unsigned number
3130
3131# For multi-line comments with a '*' lead, remove leading spaces if the first
3132# and last lines of the comment are the same length.
3133#
3134# Default: true
3135cmt_multi_check_last            = true     # true/false
3136
3137# For multi-line comments with a '*' lead, remove leading spaces if the first
3138# and last lines of the comment are the same length AND if the length is
3139# bigger as the first_len minimum.
3140#
3141# Default: 4
3142cmt_multi_first_len_minimum     = 4        # unsigned number
3143
3144# Path to a file that contains text to insert at the beginning of a file if
3145# the file doesn't start with a C/C++ comment. If the inserted text contains
3146# '$(filename)', that will be replaced with the current file's name.
3147cmt_insert_file_header          = ""         # string
3148
3149# Path to a file that contains text to insert at the end of a file if the
3150# file doesn't end with a C/C++ comment. If the inserted text contains
3151# '$(filename)', that will be replaced with the current file's name.
3152cmt_insert_file_footer          = ""         # string
3153
3154# Path to a file that contains text to insert before a function definition if
3155# the function isn't preceded by a C/C++ comment. If the inserted text
3156# contains '$(function)', '$(javaparam)' or '$(fclass)', these will be
3157# replaced with, respectively, the name of the function, the javadoc '@param'
3158# and '@return' stuff, or the name of the class to which the member function
3159# belongs.
3160cmt_insert_func_header          = ""         # string
3161
3162# Path to a file that contains text to insert before a class if the class
3163# isn't preceded by a C/C++ comment. If the inserted text contains '$(class)',
3164# that will be replaced with the class name.
3165cmt_insert_class_header         = ""         # string
3166
3167# Path to a file that contains text to insert before an Objective-C message
3168# specification, if the method isn't preceded by a C/C++ comment. If the
3169# inserted text contains '$(message)' or '$(javaparam)', these will be
3170# replaced with, respectively, the name of the function, or the javadoc
3171# '@param' and '@return' stuff.
3172cmt_insert_oc_msg_header        = ""         # string
3173
3174# Whether a comment should be inserted if a preprocessor is encountered when
3175# stepping backwards from a function name.
3176#
3177# Applies to cmt_insert_oc_msg_header, cmt_insert_func_header and
3178# cmt_insert_class_header.
3179cmt_insert_before_preproc       = false    # true/false
3180
3181# Whether a comment should be inserted if a function is declared inline to a
3182# class definition.
3183#
3184# Applies to cmt_insert_func_header.
3185#
3186# Default: true
3187cmt_insert_before_inlines       = true     # true/false
3188
3189# Whether a comment should be inserted if the function is a class constructor
3190# or destructor.
3191#
3192# Applies to cmt_insert_func_header.
3193cmt_insert_before_ctor_dtor     = false    # true/false
3194
3195#
3196# Code modifying options (non-whitespace)
3197#
3198
3199# Add or remove braces on a single-line 'do' statement.
3200mod_full_brace_do               = add      # ignore/add/remove/force
3201
3202# Add or remove braces on a single-line 'for' statement.
3203mod_full_brace_for              = add      # ignore/add/remove/force
3204
3205# (Pawn) Add or remove braces on a single-line function definition.
3206mod_full_brace_function         = ignore   # ignore/add/remove/force
3207
3208# Add or remove braces on a single-line 'if' statement. Braces will not be
3209# removed if the braced statement contains an 'else'.
3210mod_full_brace_if               = add      # ignore/add/remove/force
3211
3212# Whether to enforce that all blocks of an 'if'/'else if'/'else' chain either
3213# have, or do not have, braces. Overrides mod_full_brace_if.
3214#
3215# 0: Don't override mod_full_brace_if
3216# 1: Add braces to all blocks if any block needs braces and remove braces if
3217#    they can be removed from all blocks
3218# 2: Add braces to all blocks if any block already has braces, regardless of
3219#    whether it needs them
3220# 3: Add braces to all blocks if any block needs braces and remove braces if
3221#    they can be removed from all blocks, except if all blocks have braces
3222#    despite none needing them
3223mod_full_brace_if_chain         = 0        # unsigned number
3224
3225# Whether to add braces to all blocks of an 'if'/'else if'/'else' chain.
3226# If true, mod_full_brace_if_chain will only remove braces from an 'if' that
3227# does not have an 'else if' or 'else'.
3228mod_full_brace_if_chain_only    = false    # true/false
3229
3230# Add or remove braces on single-line 'while' statement.
3231mod_full_brace_while            = add      # ignore/add/remove/force
3232
3233# Add or remove braces on single-line 'using ()' statement.
3234mod_full_brace_using            = ignore   # ignore/add/remove/force
3235
3236# Don't remove braces around statements that span N newlines
3237mod_full_brace_nl               = 0        # unsigned number
3238
3239# Whether to prevent removal of braces from 'if'/'for'/'while'/etc. blocks
3240# which span multiple lines.
3241#
3242# Affects:
3243#   mod_full_brace_for
3244#   mod_full_brace_if
3245#   mod_full_brace_if_chain
3246#   mod_full_brace_if_chain_only
3247#   mod_full_brace_while
3248#   mod_full_brace_using
3249#
3250# Does not affect:
3251#   mod_full_brace_do
3252#   mod_full_brace_function
3253mod_full_brace_nl_block_rem_mlcond = false    # true/false
3254
3255# Add or remove unnecessary parentheses on 'return' statement.
3256mod_paren_on_return             = ignore   # ignore/add/remove/force
3257
3258# Add or remove unnecessary parentheses on 'throw' statement.
3259mod_paren_on_throw              = ignore   # ignore/add/remove/force
3260
3261# (Pawn) Whether to change optional semicolons to real semicolons.
3262mod_pawn_semicolon              = false    # true/false
3263
3264# Whether to fully parenthesize Boolean expressions in 'while' and 'if'
3265# statement, as in 'if (a && b > c)' => 'if (a && (b > c))'.
3266mod_full_paren_if_bool          = false    # true/false
3267
3268# Whether to fully parenthesize Boolean expressions after '='
3269# statement, as in 'x = a && b > c;' => 'x = (a && (b > c));'.
3270mod_full_paren_assign_bool      = false    # true/false
3271
3272# Whether to fully parenthesize Boolean expressions after '='
3273# statement, as in 'return  a && b > c;' => 'return (a && (b > c));'.
3274mod_full_paren_return_bool      = false    # true/false
3275
3276# Whether to remove superfluous semicolons.
3277mod_remove_extra_semicolon      = true     # true/false
3278
3279# Whether to remove duplicate include.
3280mod_remove_duplicate_include    = true     # true/false
3281
3282# the following options (mod_XX_closebrace_comment) use different comment,
3283# depending of the setting of the next option.
3284# false: Use the c comment (default)
3285# true : Use the cpp comment
3286mod_add_force_c_closebrace_comment = false    # true/false
3287
3288# If a function body exceeds the specified number of newlines and doesn't have
3289# a comment after the close brace, a comment will be added.
3290mod_add_long_function_closebrace_comment = 0        # unsigned number
3291
3292# If a namespace body exceeds the specified number of newlines and doesn't
3293# have a comment after the close brace, a comment will be added.
3294mod_add_long_namespace_closebrace_comment = 0        # unsigned number
3295
3296# If a class body exceeds the specified number of newlines and doesn't have a
3297# comment after the close brace, a comment will be added.
3298mod_add_long_class_closebrace_comment = 0        # unsigned number
3299
3300# If a switch body exceeds the specified number of newlines and doesn't have a
3301# comment after the close brace, a comment will be added.
3302mod_add_long_switch_closebrace_comment = 0        # unsigned number
3303
3304# If an #ifdef body exceeds the specified number of newlines and doesn't have
3305# a comment after the #endif, a comment will be added.
3306mod_add_long_ifdef_endif_comment = 0        # unsigned number
3307
3308# If an #ifdef or #else body exceeds the specified number of newlines and
3309# doesn't have a comment after the #else, a comment will be added.
3310mod_add_long_ifdef_else_comment = 0        # unsigned number
3311
3312# Whether to take care of the case by the mod_sort_xx options.
3313mod_sort_case_sensitive         = false    # true/false
3314
3315# Whether to sort consecutive single-line 'import' statements.
3316mod_sort_import                 = false    # true/false
3317
3318# (C#) Whether to sort consecutive single-line 'using' statements.
3319mod_sort_using                  = false    # true/false
3320
3321# Whether to sort consecutive single-line '#include' statements (C/C++) and
3322# '#import' statements (Objective-C). Be aware that this has the potential to
3323# break your code if your includes/imports have ordering dependencies.
3324mod_sort_include                = true     # true/false
3325
3326# Whether to prioritize '#include' and '#import' statements that contain
3327# filename without extension when sorting is enabled.
3328mod_sort_incl_import_prioritize_filename = false    # true/false
3329
3330# Whether to prioritize '#include' and '#import' statements that does not
3331# contain extensions when sorting is enabled.
3332mod_sort_incl_import_prioritize_extensionless = false    # true/false
3333
3334# Whether to prioritize '#include' and '#import' statements that contain
3335# angle over quotes when sorting is enabled.
3336mod_sort_incl_import_prioritize_angle_over_quotes = true     # true/false
3337
3338# Whether to ignore file extension in '#include' and '#import' statements
3339# for sorting comparison.
3340mod_sort_incl_import_ignore_extension = false    # true/false
3341
3342# Whether to group '#include' and '#import' statements when sorting is enabled.
3343mod_sort_incl_import_grouping_enabled = true     # true/false
3344
3345# Whether to move a 'break' that appears after a fully braced 'case' before
3346# the close brace, as in 'case X: { ... } break;' => 'case X: { ... break; }'.
3347mod_move_case_break             = false    # true/false
3348
3349# Whether to move a 'return' that appears after a fully braced 'case' before
3350# the close brace, as in 'case X: { ... } return;' => 'case X: { ... return; }'.
3351mod_move_case_return            = false    # true/false
3352
3353# Add or remove braces around a fully braced case statement. Will only remove
3354# braces if there are no variable declarations in the block.
3355mod_case_brace                  = ignore   # ignore/add/remove/force
3356
3357# Whether to remove a void 'return;' that appears as the last statement in a
3358# function.
3359mod_remove_empty_return         = false    # true/false
3360
3361# Add or remove the comma after the last value of an enumeration.
3362mod_enum_last_comma             = add      # ignore/add/remove/force
3363
3364# Syntax to use for infinite loops.
3365#
3366# 0: Leave syntax alone (default)
3367# 1: Rewrite as `for(;;)`
3368# 2: Rewrite as `while(true)`
3369# 3: Rewrite as `do`...`while(true);`
3370# 4: Rewrite as `while(1)`
3371# 5: Rewrite as `do`...`while(1);`
3372#
3373# Infinite loops that do not already match one of these syntaxes are ignored.
3374# Other options that affect loop formatting will be applied after transforming
3375# the syntax.
3376mod_infinite_loop               = 2        # unsigned number
3377
3378# Add or remove the 'int' keyword in 'int short'.
3379mod_int_short                   = remove   # ignore/add/remove/force
3380
3381# Add or remove the 'int' keyword in 'short int'.
3382mod_short_int                   = remove   # ignore/add/remove/force
3383
3384# Add or remove the 'int' keyword in 'int long'.
3385mod_int_long                    = remove   # ignore/add/remove/force
3386
3387# Add or remove the 'int' keyword in 'long int'.
3388mod_long_int                    = remove   # ignore/add/remove/force
3389
3390# Add or remove the 'int' keyword in 'int signed'.
3391mod_int_signed                  = remove   # ignore/add/remove/force
3392
3393# Add or remove the 'int' keyword in 'signed int'.
3394mod_signed_int                  = remove   # ignore/add/remove/force
3395
3396# Add or remove the 'int' keyword in 'int unsigned'.
3397mod_int_unsigned                = remove   # ignore/add/remove/force
3398
3399# Add or remove the 'int' keyword in 'unsigned int'.
3400mod_unsigned_int                = remove   # ignore/add/remove/force
3401
3402# If there is a situation where mod_int_* and mod_*_int would result in
3403# multiple int keywords, whether to keep the rightmost int (the default) or the
3404# leftmost int.
3405mod_int_prefer_int_on_left      = false    # true/false
3406
3407# (OC) Whether to organize the properties. If true, properties will be
3408# rearranged according to the mod_sort_oc_property_*_weight factors.
3409mod_sort_oc_properties          = false    # true/false
3410
3411# (OC) Weight of a class property modifier.
3412mod_sort_oc_property_class_weight = 0        # number
3413
3414# (OC) Weight of 'atomic' and 'nonatomic'.
3415mod_sort_oc_property_thread_safe_weight = 0        # number
3416
3417# (OC) Weight of 'readwrite' when organizing properties.
3418mod_sort_oc_property_readwrite_weight = 0        # number
3419
3420# (OC) Weight of a reference type specifier ('retain', 'copy', 'assign',
3421# 'weak', 'strong') when organizing properties.
3422mod_sort_oc_property_reference_weight = 0        # number
3423
3424# (OC) Weight of getter type ('getter=') when organizing properties.
3425mod_sort_oc_property_getter_weight = 0        # number
3426
3427# (OC) Weight of setter type ('setter=') when organizing properties.
3428mod_sort_oc_property_setter_weight = 0        # number
3429
3430# (OC) Weight of nullability type ('nullable', 'nonnull', 'null_unspecified',
3431# 'null_resettable') when organizing properties.
3432mod_sort_oc_property_nullability_weight = 0        # number
3433
3434#
3435# Preprocessor options
3436#
3437
3438# How to use tabs when indenting preprocessor code.
3439#
3440# -1: Use 'indent_with_tabs' setting (default)
3441#  0: Spaces only
3442#  1: Indent with tabs to brace level, align with spaces
3443#  2: Indent and align with tabs, using spaces when not on a tabstop
3444#
3445# Default: -1
3446pp_indent_with_tabs             = -1       # number
3447
3448# Add or remove indentation of preprocessor directives inside #if blocks
3449# at brace level 0 (file-level).
3450pp_indent                       = remove   # ignore/add/remove/force
3451
3452# Whether to indent #if/#else/#endif at the brace level. If false, these are
3453# indented from column 1.
3454pp_indent_at_level              = false    # true/false
3455
3456# Whether to indent #if/#else/#endif at the parenthesis level if the brace
3457# level is 0. If false, these are indented from column 1.
3458pp_indent_at_level0             = false    # true/false
3459
3460# Specifies the number of columns to indent preprocessors per level
3461# at brace level 0 (file-level). If pp_indent_at_level=false, also specifies
3462# the number of columns to indent preprocessors per level
3463# at brace level > 0 (function-level).
3464#
3465# Default: 1
3466pp_indent_count                 = 1        # unsigned number
3467
3468# Add or remove space after # based on pp level of #if blocks.
3469pp_space_after                  = force    # ignore/add/remove/force
3470
3471# Sets the number of spaces per level added with pp_space_after.
3472pp_space_count                  = 1        # unsigned number
3473
3474# The indent for '#region' and '#endregion' in C# and '#pragma region' in
3475# C/C++. Negative values decrease indent down to the first column.
3476pp_indent_region                = 0        # number
3477
3478# Whether to indent the code between #region and #endregion.
3479pp_region_indent_code           = false    # true/false
3480
3481# If pp_indent_at_level=true, sets the indent for #if, #else and #endif when
3482# not at file-level. Negative values decrease indent down to the first column.
3483#
3484# =0: Indent preprocessors using output_tab_size
3485# >0: Column at which all preprocessors will be indented
3486pp_indent_if                    = 0        # number
3487
3488# Whether to indent the code between #if, #else and #endif.
3489pp_if_indent_code               = false    # true/false
3490
3491# Whether to indent the body of an #if that encompasses all the code in the file.
3492pp_indent_in_guard              = false    # true/false
3493
3494# Whether to indent '#define' at the brace level. If false, these are
3495# indented from column 1.
3496pp_define_at_level              = false    # true/false
3497
3498# Whether to indent '#include' at the brace level.
3499pp_include_at_level             = false    # true/false
3500
3501# Whether to ignore the '#define' body while formatting.
3502pp_ignore_define_body           = false    # true/false
3503
3504# An offset value that controls the indentation of the body of a multiline #define.
3505# 'body' refers to all the lines of a multiline #define except the first line.
3506# Requires 'pp_ignore_define_body = false'.
3507#
3508#  <0: Absolute column: the body indentation starts off at the specified column
3509#      (ex. -3 ==> the body is indented starting from column 3)
3510# >=0: Relative to the column of the '#' of '#define'
3511#      (ex.  3 ==> the body is indented starting 3 columns at the right of '#')
3512#
3513# Default: 8
3514pp_multiline_define_body_indent = 2        # number
3515
3516# Whether to indent case statements between #if, #else, and #endif.
3517# Only applies to the indent of the preprocessor that the case statements
3518# directly inside of.
3519#
3520# Default: true
3521pp_indent_case                  = true     # true/false
3522
3523# Whether to indent whole function definitions between #if, #else, and #endif.
3524# Only applies to the indent of the preprocessor that the function definition
3525# is directly inside of.
3526#
3527# Default: true
3528pp_indent_func_def              = true     # true/false
3529
3530# Whether to indent extern C blocks between #if, #else, and #endif.
3531# Only applies to the indent of the preprocessor that the extern block is
3532# directly inside of.
3533#
3534# Default: true
3535pp_indent_extern                = true     # true/false
3536
3537# How to indent braces directly inside #if, #else, and #endif.
3538# Requires pp_if_indent_code=true and only applies to the indent of the
3539# preprocessor that the braces are directly inside of.
3540#  0: No extra indent
3541#  1: Indent by one level
3542# -1: Preserve original indentation
3543#
3544# Default: 1
3545pp_indent_brace                 = 1        # number
3546
3547# Action to perform when unbalanced #if and #else blocks are found.
3548# 0: do nothing
3549# 1: print a warning message
3550# 2: terminate the program with an error (EX_SOFTWARE)
3551#
3552# The action will be triggered in the following cases:
3553# - if an #ifdef block ends on a different indent level than
3554#   where it started from. Example:
3555#
3556#    #ifdef TEST
3557#      int i;
3558#      {
3559#        int j;
3560#    #endif
3561#
3562# - an #elif/#else block ends on a different indent level than
3563#   the corresponding #ifdef block. Example:
3564#
3565#    #ifdef TEST
3566#        int i;
3567#    #else
3568#        }
3569#      int j;
3570#    #endif
3571pp_unbalanced_if_action         = 0        # unsigned number
3572
3573#
3574# Sort includes options
3575#
3576
3577# The regex for include category with priority 0.
3578include_category_0              = "(?!.*generated.h\").*"             # string
3579
3580# The regex for include category with priority 1.
3581include_category_1              = ""         # string
3582
3583# The regex for include category with priority 2.
3584include_category_2              = ""         # string
3585
3586#
3587# Use or Do not Use options
3588#
3589
3590# true:  indent_func_call_param will be used (default)
3591# false: indent_func_call_param will NOT be used
3592#
3593# Default: true
3594use_indent_func_call_param      = true     # true/false
3595
3596# The value of the indentation for a continuation line is calculated
3597# differently if the statement is:
3598# - a declaration: your case with QString fileName ...
3599# - an assignment: your case with pSettings = new QSettings( ...
3600#
3601# At the second case the indentation value might be used twice:
3602# - at the assignment
3603# - at the function call (if present)
3604#
3605# To prevent the double use of the indentation value, use this option with the
3606# value 'true'.
3607#
3608# true:  indent_continue will be used only once
3609# false: indent_continue will be used every time (default)
3610#
3611# Requires indent_ignore_first_continue=false.
3612use_indent_continue_only_once   = false    # true/false
3613
3614# The indentation can be:
3615# - after the assignment, at the '[' character
3616# - at the beginning of the lambda body
3617#
3618# true:  indentation will be at the beginning of the lambda body
3619# false: indentation will be after the assignment (default)
3620indent_cpp_lambda_only_once     = false    # true/false
3621
3622# Whether sp_after_angle takes precedence over sp_inside_fparen. This was the
3623# historic behavior, but is probably not the desired behavior, so this is off
3624# by default.
3625use_sp_after_angle_always       = false    # true/false
3626
3627# Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially,
3628# this tries to format these so that they match Qt's normalized form (i.e. the
3629# result of QMetaObject::normalizedSignature), which can slightly improve the
3630# performance of the QObject::connect call, rather than how they would
3631# otherwise be formatted.
3632#
3633# See options_for_QT.cpp for details.
3634#
3635# Default: true
3636use_options_overriding_for_qt_macros = true     # true/false
3637
3638# If true: the form feed character is removed from the list of whitespace
3639# characters. See https://en.cppreference.com/w/cpp/string/byte/isspace.
3640use_form_feed_no_more_as_whitespace_character = false    # true/false
3641
3642#
3643# Warn levels - 1: error, 2: warning (default), 3: note
3644#
3645
3646# (C#) Warning is given if doing tab-to-\t replacement and we have found one
3647# in a C# verbatim string literal.
3648#
3649# Default: 2
3650warn_level_tabs_found_in_verbatim_string_literals = 2        # unsigned number
3651
3652# Limit the number of loops.
3653# Used by uncrustify.cpp to exit from infinite loop.
3654# 0: no limit.
3655debug_max_number_of_loops       = 0        # number
3656
3657# Set the number of the line to protocol;
3658# Used in the function prot_the_line if the 2. parameter is zero.
3659# 0: nothing protocol.
3660debug_line_number_to_protocol   = 0        # number
3661
3662# Set the number of second(s) before terminating formatting the current file,
3663# 0: no timeout.
3664# only for linux
3665debug_timeout                   = 0        # number
3666
3667# Set the number of characters to be printed if the text is too long,
3668# 0: do not truncate.
3669debug_truncate                  = 0        # unsigned number
3670
3671# sort (or not) the tracking info.
3672#
3673# Default: true
3674debug_sort_the_tracks           = true     # true/false
3675
3676# decode (or not) the flags as a new line.
3677# only if the -p option is set.
3678debug_decode_the_flags          = false    # true/false
3679
3680# use (or not) the exit(EX_SOFTWARE) function.
3681#
3682# Default: true
3683debug_use_the_exit_function_pop = true     # true/false
3684
3685# print (or not) the version in the file defined at the command option -o.
3686debug_print_version             = false    # true/false
3687
3688# insert the number of the line at the beginning of each line
3689set_numbering_for_html_output   = false    # true/false
3690
3691# Meaning of the settings:
3692#   Ignore - do not do any changes
3693#   Add    - makes sure there is 1 or more space/brace/newline/etc
3694#   Force  - makes sure there is exactly 1 space/brace/newline/etc,
3695#            behaves like Add in some contexts
3696#   Remove - removes space/brace/newline/etc
3697#
3698#
3699# - Token(s) can be treated as specific type(s) with the 'set' option:
3700#     `set tokenType tokenString [tokenString...]`
3701#
3702#     Example:
3703#       `set BOOL __AND__ __OR__`
3704#
3705#     tokenTypes are defined in src/token_enum.h, use them without the
3706#     'CT_' prefix: 'CT_BOOL' => 'BOOL'
3707#
3708#
3709# - Token(s) can be treated as type(s) with the 'type' option.
3710#     `type tokenString [tokenString...]`
3711#
3712#     Example:
3713#       `type int c_uint_8 Rectangle`
3714#
3715#     This can also be achieved with `set TYPE int c_uint_8 Rectangle`
3716#
3717#
3718# To embed whitespace in tokenStrings use the '\' escape character, or quote
3719# the tokenStrings. These quotes are supported: "'`
3720#
3721#
3722# - Support for the auto detection of languages through the file ending can be
3723#   added using the 'file_ext' command.
3724#     `file_ext langType langString [langString..]`
3725#
3726#     Example:
3727#       `file_ext CPP .ch .cxx .cpp.in`
3728#
3729#     langTypes are defined in uncrusify_types.h in the lang_flag_e enum, use
3730#     them without the 'LANG_' prefix: 'LANG_CPP' => 'CPP'
3731#
3732#
3733# - Custom macro-based indentation can be set up using 'macro-open',
3734#   'macro-else' and 'macro-close'.
3735#     `(macro-open | macro-else | macro-close) tokenString`
3736#
3737#     Example:
3738#       `macro-open  BEGIN_TEMPLATE_MESSAGE_MAP`
3739#       `macro-open  BEGIN_MESSAGE_MAP`
3740#       `macro-close END_MESSAGE_MAP`
3741#
3742#
3743set CLASS_COLON                  FUNC_API_DEPRECATED_SINCE
3744set CLASS_COLON                  FUNC_API_FAST
3745set CLASS_COLON                  FUNC_API_LUA_ONLY
3746set CLASS_COLON                  FUNC_API_NOEXPORT
3747set CLASS_COLON                  FUNC_API_REMOTE_ONLY
3748set CLASS_COLON                  FUNC_API_RET_ALLOC
3749set CLASS_COLON                  FUNC_API_SINCE
3750set CLASS_COLON                  FUNC_API_TEXTLOCK
3751set CLASS_COLON                  FUNC_ATTR_ALWAYS_INLINE
3752set CLASS_COLON                  FUNC_ATTR_CONST
3753set CLASS_COLON                  FUNC_ATTR_MALLOC
3754set CLASS_COLON                  FUNC_ATTR_NONNULL_ALL
3755set CLASS_COLON                  FUNC_ATTR_NONNULL_ARG
3756set CLASS_COLON                  FUNC_ATTR_NONNULL_RET
3757set CLASS_COLON                  FUNC_ATTR_NORETURN
3758set CLASS_COLON                  FUNC_ATTR_NO_SANITIZE_ADDRESS
3759set CLASS_COLON                  FUNC_ATTR_NO_SANITIZE_UNDEFINED
3760set CLASS_COLON                  FUNC_ATTR_PRINTF
3761set CLASS_COLON                  FUNC_ATTR_PURE
3762set CLASS_COLON                  FUNC_ATTR_WARN_UNUSED_RESULT
3763set PP_PRAGMA                    PRAGMA_DIAG_PUSH_IGNORE_IMPLICIT_FALLTHROUGH
3764set PP_PRAGMA                    PRAGMA_DIAG_PUSH_IGNORE_MISSING_PROTOTYPES
3765set CLASS_COLON                  REAL_FATTR_ALWAYS_INLINE
3766set CLASS_COLON                  REAL_FATTR_CONST
3767set CLASS_COLON                  REAL_FATTR_NONNULL_ALL
3768set CLASS_COLON                  REAL_FATTR_PURE
3769set CLASS_COLON                  REAL_FATTR_WARN_UNUSED_RESULT
3770# option(s) with 'not default' value: 137
3771#