-
Notifications
You must be signed in to change notification settings - Fork 40
/
uncrustify.cfg
173 lines (166 loc) · 4.6 KB
/
uncrustify.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# Copyright (c) 2019 Kings Distributed Systems. All Rights Reserved.
file_ext CPP .cc .hh
align_enum_equ_span = 14
align_left_shift = false
indent_columns = 2
indent_align_assign = false
indent_align_paren = false
indent_case_brace = indent_columns
indent_continue = 0
indent_constr_colon = true
indent_cpp_lambda_body = true
indent_ctor_init = -indent_columns
indent_ctor_init_leading = 0
indent_access_spec = -indent_columns
indent_extern = true
indent_func_call_param = true
indent_func_class_param = true
indent_func_ctor_var_param = true
indent_func_def_force_col1 = false
indent_func_def_param = true
indent_func_proto_param = true
indent_label = -indent_columns
indent_macro_brace = false
indent_namespace = true
indent_off_after_assign = true
indent_paren_open_brace = true
indent_paren_close = indent_columns
indent_shift = 1
indent_template_param = true
indent_var_def_cont = true
indent_with_tabs = 0
nl_brace_catch = remove
nl_collapse_empty_body = true
sp_after_angle = remove
sp_after_byref = remove
sp_after_byref_func = remove
sp_after_cast = remove
sp_after_class_colon = force
sp_after_comma = force
sp_after_constr_colon = force
sp_after_dc = remove
sp_after_decltype = force
sp_after_for_colon = force
sp_after_new = force
sp_after_newop_paren = force
sp_after_noexcept = force
sp_after_operator = force
sp_after_operator_sym = remove
sp_after_operator_sym_empty = remove
sp_after_ptr_block_caret = remove
sp_after_ptr_star = remove
sp_after_ptr_star_qualifier = remove
sp_after_ptr_star_func = remove
sp_after_semi = force
sp_after_semi_for_empty = force
sp_after_throw = force
sp_after_tparen_close = remove
sp_after_type_brace_init_lst_open = remove
sp_angle_colon = force
sp_angle_paren = remove
sp_angle_paren_empty = remove
sp_angle_shift = remove
sp_angle_word = force
sp_assign = add
sp_attribute_paren = remove
sp_before_angle = remove
sp_before_byref = force
sp_before_byref_func = force
sp_before_class_colon = force
sp_before_constr_colon = force
sp_before_dc = remove
sp_before_ellipsis = remove
sp_before_for_colon = remove
sp_before_nl_cont = force
sp_before_ptr_star = force
sp_before_ptr_star_func = force
sp_before_semi_for = remove
sp_before_semi_for_empty = remove
sp_before_sparen = force
sp_before_square = remove
sp_before_squares = remove
sp_before_tr_cmt = add
sp_before_type_brace_init_lst_close = remove
sp_between_new_paren = remove
sp_between_ptr_star = remove
sp_bool = force
sp_brace_brace = remove
sp_brace_catch = force
sp_brace_else = force
sp_brace_finally = force
sp_brace_typedef = force
sp_catch_brace = force
sp_catch_paren = force
sp_cmt_cpp_doxygen = true
sp_cmt_cpp_start = add
sp_compare = force
sp_cond_colon = force
sp_cond_question = force
sp_cparen_oparen = remove
sp_cpp_cast_paren = ignore # Removes space afer function<> return type
sp_cpp_lambda_fparen = remove
sp_cpp_lambda_paren_brace = force
sp_cpp_lambda_square_brace = remove
sp_cpp_lambda_square_paren = remove
sp_decltype_paren = remove
sp_defined_paren = remove
sp_else_brace = force
sp_endif_cmt = force
sp_enum_assign = add
sp_enum_colon = add
sp_finally_brace = force
sp_fparen_brace = force
sp_func_call_paren = ignore # Removes space afer function<> return type
sp_func_call_paren_empty = ignore # Removes space afer function<> return type
sp_func_call_user_inside_fparen = remove
sp_func_call_user_paren = remove
sp_func_call_user_paren_paren = remove
sp_func_class_paren = remove
sp_func_class_paren_empty = remove
sp_func_def_paren = remove
sp_func_def_paren_empty = remove
sp_func_proto_paren = remove
sp_func_proto_paren_empty = remove
sp_func_type_paren = remove
sp_getset_brace = force
sp_inside_angle = remove
sp_inside_angle_empty = remove
sp_inside_braces_empty = remove
sp_inside_braces_enum = remove
sp_inside_braces_struct = force
sp_inside_fparen = remove
sp_inside_fparens = remove
sp_inside_newop_paren = remove
sp_inside_paren = remove
sp_inside_paren_cast = remove
sp_inside_sparen = remove
sp_inside_square = remove
sp_inside_tparen = remove
sp_paren_brace = force
sp_paren_comma = remove
sp_paren_ellipsis = remove
sp_paren_noexcept = force
sp_paren_paren = remove
sp_paren_qualifier = force
sp_permit_cpp11_shift = true
sp_ptr_star_paren = remove
sp_return_brace = force
sp_return_paren = force
sp_sizeof_ellipsis = remove
sp_sizeof_ellipsis_paren = remove
sp_sizeof_paren = remove
sp_sparen_brace = force
sp_special_semi = remove
sp_square_fparen = remove
sp_template_angle = force
sp_throw_paren = force
sp_trailing_return = force
sp_try_brace = force
sp_type_brace_init_lst = remove
sp_type_ellipsis = remove
sp_type_func = remove
sp_type_brace_init_lst = remove
sp_word_brace_ns = force
utf8_bom = remove
utf8_byte = true
utf8_force = true