[Openvpn-devel,5/6] uncrustify: add space around all arithmetic operators

Message ID 20220826085427.25302-6-frank@lichtenheld.com
State Rejected
Headers show
Series uncrustify vs. operators | expand

Commit Message

Frank Lichtenheld Aug. 25, 2022, 10:54 p.m. UTC
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
---
 dev-tools/uncrustify.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Frank Lichtenheld Oct. 6, 2022, 11:22 p.m. UTC | #1
On Fri, Aug 26, 2022 at 10:54:26AM +0200, Frank Lichtenheld wrote:
> Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
> ---
>  dev-tools/uncrustify.conf | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/dev-tools/uncrustify.conf b/dev-tools/uncrustify.conf
> index 3c721396..d5c2a8a7 100644
> --- a/dev-tools/uncrustify.conf
> +++ b/dev-tools/uncrustify.conf
> @@ -34,8 +34,7 @@ sp_inside_sparen=remove
>  sp_cond_colon=add
>  sp_cond_question=add
>  sp_bool=add
> -sp_arith=ignore
> -sp_arith_additive=add
> +sp_arith=add
>  sp_compare=add
>  sp_else_brace=add
>  sp_brace_else=add
> -- 

Just for the benefit of the list: The NACK for 6/6 obviously also
includes 5/6.

Regards,

Patch

diff --git a/dev-tools/uncrustify.conf b/dev-tools/uncrustify.conf
index 3c721396..d5c2a8a7 100644
--- a/dev-tools/uncrustify.conf
+++ b/dev-tools/uncrustify.conf
@@ -34,8 +34,7 @@  sp_inside_sparen=remove
 sp_cond_colon=add
 sp_cond_question=add
 sp_bool=add
-sp_arith=ignore
-sp_arith_additive=add
+sp_arith=add
 sp_compare=add
 sp_else_brace=add
 sp_brace_else=add