[Openvpn-devel,3/6] uncrustify: add space around "additive" operators

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

Commit Message

Frank Lichtenheld Aug. 25, 2022, 10:54 p.m. UTC
Only '+' and '-' since sp_arith=add would be very
intrusive.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
---
 dev-tools/uncrustify.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/dev-tools/uncrustify.conf b/dev-tools/uncrustify.conf
index 25d85ecd..3c721396 100644
--- a/dev-tools/uncrustify.conf
+++ b/dev-tools/uncrustify.conf
@@ -35,7 +35,7 @@  sp_cond_colon=add
 sp_cond_question=add
 sp_bool=add
 sp_arith=ignore
-sp_arith_additive=ignore
+sp_arith_additive=add
 sp_compare=add
 sp_else_brace=add
 sp_brace_else=add