uncrustify: Add a rule to remove space inside function argument

Our code base doesn't have spaces both after the opening parenthesis
and the closing parenthesis.  "func( arg )" vs "func(arg)".

This patch adds the rule to remove the spaces.

Signed-off-by: Yasushi SHOJI <y-shoji@ispace-inc.com>
This commit is contained in:
Yasushi SHOJI 2018-10-16 15:05:09 +09:00 committed by Anas Nashif
parent deaab90641
commit 58b0ecf78f
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ sp_after_comma = add
sp_func_def_paren = remove # "int foo (){" vs "int foo(){"
sp_func_call_paren = remove # "foo (" vs "foo("
sp_func_proto_paren = remove # "int foo ();" vs "int foo();"
sp_inside_fparen = remove # "func( arg )" vs "func(arg)"
sp_else_brace = add # ignore/add/remove/force
sp_before_ptr_star = add # ignore/add/remove/force
sp_after_ptr_star = remove # ignore/add/remove/force