mod_remove_extra_semicolon
Whether to remove superfluous semicolons.
Possible values are true and false, default false.
Conflicts with sp_after_semi.
Works a bit incorrectly with Uncrustify_d-0.70.1_f.
Examples
Base config:
sp_after_semi = ignore
mod_remove_extra_semicolon = <example value>
Base example:
int x = 10;;
int y = 20;
if (x<15) y=3;;;;
true
Result:
int x = 10;
int y = 20;
if (x<15) y=3;;
Note one additional semicolon remains in last line.
false
Base example remains unchanged.
See also
- nl_ds_struct_enum_close_brace: Whether to force a newline before '}' of a 'struct'/'union'/'enum'.
- nl_inside_namespace: The number of newlines after
{
of a namespace. - eat_blanks_before_close_brace: Whether to remove blank lines before '}'.
- nl_squeeze_ifdef: Whether to remove blanks after
#ifxx
and#elxx
, or before#elxx
and#endif
.