|
1 |
| -# Uncrustify-0.72.0_f |
| 1 | +# Uncrustify-0.80.1_f |
2 | 2 |
|
3 | 3 | # The original size of tabs in the input.
|
4 | 4 | #
|
@@ -133,14 +133,31 @@ indent_class = true # true/false
|
133 | 133 | # Default: 1
|
134 | 134 | indent_access_spec = -4 # number
|
135 | 135 |
|
136 |
| -# Whether to collapse empty blocks between '{' and '}'. |
137 |
| -# If true, overrides nl_inside_empty_func |
| 136 | +# Whether to collapse empty blocks between '{' and '}' except for functions. |
| 137 | +# Use nl_collapse_empty_body_functions to specify how empty function braces |
| 138 | +# should be formatted. |
138 | 139 | nl_collapse_empty_body = true # true/false
|
139 | 140 |
|
| 141 | +# Whether to collapse empty blocks between '{' and '}' for functions only. |
| 142 | +# If true, overrides nl_inside_empty_func. |
| 143 | +nl_collapse_empty_body_functions = true # true/false |
| 144 | + |
140 | 145 | # Whether to convert all tabs to spaces in comments. If false, tabs in
|
141 | 146 | # comments are left alone, unless used for indenting.
|
142 | 147 | cmt_convert_tab_to_spaces = true # true/false
|
143 | 148 |
|
| 149 | +# An offset value that controls the indentation of the body of a multiline #define. |
| 150 | +# 'body' refers to all the lines of a multiline #define except the first line. |
| 151 | +# Requires 'pp_ignore_define_body = false'. |
| 152 | +# |
| 153 | +# <0: Absolute column: the body indentation starts off at the specified column |
| 154 | +# (ex. -3 ==> the body is indented starting from column 3) |
| 155 | +# >=0: Relative to the column of the '#' of '#define' |
| 156 | +# (ex. 3 ==> the body is indented starting 3 columns at the right of '#') |
| 157 | +# |
| 158 | +# Default: 8 |
| 159 | +pp_multiline_define_body_indent = 4 # number |
| 160 | + |
144 | 161 | # The value might be used twice:
|
145 | 162 | # - at the assignment
|
146 | 163 | # - at the opening brace
|
|
0 commit comments