all: Remove spaces inside and around parenthesis.
Using new options enabled in the uncrustify configuration.
This commit is contained in:
parent
b56caaf104
commit
1a3e386c67
|
@ -161,7 +161,7 @@ sp_bool = force # ignore/add/remove/force
|
|||
sp_compare = force # ignore/add/remove/force
|
||||
|
||||
# Add or remove space inside '(' and ')'.
|
||||
sp_inside_paren = ignore # ignore/add/remove/force
|
||||
sp_inside_paren = remove # ignore/add/remove/force
|
||||
|
||||
# Add or remove space between nested parentheses, i.e. '((' vs. ') )'.
|
||||
sp_paren_paren = remove # ignore/add/remove/force
|
||||
|
@ -441,10 +441,10 @@ sp_after_operator_sym_empty = ignore # ignore/add/remove/force
|
|||
|
||||
# Add or remove space after C/D cast, i.e. 'cast(int)a' vs. 'cast(int) a' or
|
||||
# '(int)a' vs. '(int) a'.
|
||||
sp_after_cast = ignore # ignore/add/remove/force
|
||||
sp_after_cast = remove # ignore/add/remove/force
|
||||
|
||||
# Add or remove spaces inside cast parentheses.
|
||||
sp_inside_paren_cast = ignore # ignore/add/remove/force
|
||||
sp_inside_paren_cast = remove # ignore/add/remove/force
|
||||
|
||||
# Add or remove space between the type and open parenthesis in a C++ cast,
|
||||
# i.e. 'int(exp)' vs. 'int (exp)'.
|
||||
|
@ -587,7 +587,7 @@ sp_return_brace = ignore # ignore/add/remove/force
|
|||
sp_attribute_paren = ignore # ignore/add/remove/force
|
||||
|
||||
# Add or remove space between 'defined' and '(' in '#if defined (FOO)'.
|
||||
sp_defined_paren = ignore # ignore/add/remove/force
|
||||
sp_defined_paren = remove # ignore/add/remove/force
|
||||
|
||||
# Add or remove space between 'throw' and '(' in 'throw (something)'.
|
||||
sp_throw_paren = ignore # ignore/add/remove/force
|
||||
|
|
Loading…
Reference in New Issue