Bump to 4.6.5
[qBittorrent.git] / uncrustify.cfg
blob152d52586e9d4865a5f7c5b410887169b72f14fd
1 set FOR foreach
2 set WORD slots
4 newlines                                = LF
6 indent_with_tabs                = 0
7 indent_columns                  = 4
8 indent_namespace                = true
9 indent_class                    = true
10 indent_col1_comment             = true
11 indent_access_spec              = -4
12 indent_switch_case              = 0
13 indent_case_shift               = 0
14 indent_case_brace               = 4
16 nl_after_func_body              = 2
17 nl_collapse_empty_body  = false
18 nl_enum_brace                   = add
19 nl_union_brace                  = add
20 nl_struct_brace                 = add
21 nl_class_brace                  = add
22 nl_case_colon_brace             = remove
23 nl_do_brace                     = remove
24 nl_if_brace                     = remove
25 nl_for_brace                    = remove
26 nl_else_brace                   = remove
27 nl_while_brace                  = remove
28 nl_switch_brace                 = remove
29 nl_brace_while                  = remove
30 nl_brace_else                   = remove
31 nl_try_brace                    = remove
32 nl_fcall_brace                  = remove
33 nl_fdef_brace                   = add
34 nl_after_return                 = false
35 nl_brace_else                   = add
36 nl_class_leave_one_liners       = true
37 nl_before_access_spec   = 2
38 nl_end_of_file                  = force
39 nl_end_of_file_min              = 1
40 nl_namespace_brace              = add
42 mod_full_brace_if               = remove
43 mod_full_brace_if_chain = true
44 mod_full_brace_do               = remove
45 mod_full_brace_while    = remove
46 mod_full_brace_for              = remove
47 mod_full_brace_if_chain = true
48 mod_full_brace_nl               = 3
49 mod_full_paren_if_bool  = true
50 mod_move_case_break             = true
52 sp_cond_colon                           = force
53 sp_else_brace                           = force
54 sp_try_brace                            = force
55 sp_arith                                        = force
56 sp_assign                                       = force
57 sp_defined_paren                        = ignore
58 sp_pp_concat                            = ignore
59 sp_pp_stringify                         = ignore
60 sp_bool                                         = force
61 sp_after_class_colon            = force
62 sp_before_class_colon           = force
63 sp_after_constr_colon           = force
64 sp_cmt_cpp_start                        = add
65 sp_cmt_cpp_doxygen                      = true
66 sp_endif_cmt                            = force
67 sp_angle_shift                          = remove
68 sp_permit_cpp11_shift           = true
69 sp_before_sparen                        = force
70 sp_after_operator                       = remove
71 sp_after_operator_sym           = remove
72 sp_after_for_colon                      = force
73 sp_before_for_colon                     = force
74 sp_between_new_paren            = force
76 sp_before_ptr_star                      = force
77 sp_before_byref                         = force
78 sp_after_ptr_star                       = remove
79 sp_after_byref                          = remove
80 sp_before_unnamed_ptr_star      = force
81 sp_before_unnamed_byref         = force
82 sp_after_ptr_star_func          = remove
83 sp_after_byref_func                     = remove
84 sp_before_ptr_star_func         = force
85 sp_before_byref_func            = force
86 sp_after_comma                          = force
87 sp_compare                                      = force
89 eat_blanks_before_close_brace   = true
91 pos_arith                                       = lead
92 pos_conditional                         = lead
93 pos_constr_comma                        = lead_break
94 pos_constr_colon                        = lead_break