From f9aeb5783dc47fd7bbc2a07c7c375eb73b881dfe Mon Sep 17 00:00:00 2001 From: Eugene Shalygin Date: Tue, 31 May 2016 18:51:59 +0200 Subject: [PATCH] uncrustify: replace "add" with "force" for sp_ parameters This will make uncrustify able to remove excessive spaces --- uncrustify.cfg | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/uncrustify.cfg b/uncrustify.cfg index ce11b98b9..5c2d31df1 100644 --- a/uncrustify.cfg +++ b/uncrustify.cfg @@ -46,34 +46,34 @@ mod_full_brace_if_chain = true mod_full_brace_nl = 3 mod_full_paren_if_bool = true -sp_else_brace = add -sp_try_brace = add -sp_arith = add -sp_assign = add -sp_defined_paren = ignore -sp_pp_concat = ignore -sp_pp_stringify = ignore -sp_bool = add -sp_after_class_colon = add +sp_else_brace = force +sp_try_brace = force +sp_arith = force +sp_assign = force +sp_defined_paren = ignore +sp_pp_concat = ignore +sp_pp_stringify = ignore +sp_bool = force +sp_after_class_colon = force sp_before_class_colon = remove sp_cmt_cpp_start = add sp_cmt_cpp_doxygen = true sp_angle_shift = remove sp_permit_cpp11_shift = true -sp_before_sparen = add +sp_before_sparen = force sp_after_operator = remove sp_after_operator_sym = remove -sp_before_ptr_star = add -sp_before_byref = add +sp_before_ptr_star = force +sp_before_byref = force sp_after_ptr_star = remove sp_after_byref = remove -sp_before_unnamed_ptr_star = add -sp_before_unnamed_byref = add +sp_before_unnamed_ptr_star = force +sp_before_unnamed_byref = force sp_after_ptr_star_func = remove sp_after_byref_func = remove -sp_before_ptr_star_func = add -sp_before_byref_func = add +sp_before_ptr_star_func = force +sp_before_byref_func = force eat_blanks_before_close_brace = true