From 28019ef65ce917e41209053ad45df6c88d42942e Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 7 Nov 2013 08:42:15 +0100 Subject: [PATCH] Force // comment and if(cond) --- qcsrc/uncrustify.cfg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qcsrc/uncrustify.cfg b/qcsrc/uncrustify.cfg index 728462d0b..b2744e53e 100644 --- a/qcsrc/uncrustify.cfg +++ b/qcsrc/uncrustify.cfg @@ -415,8 +415,7 @@ sp_angle_shift = ignore # ignore/add/remove/force sp_permit_cpp11_shift = false # false/true # Add or remove space before '(' of 'if', 'for', 'switch', and 'while' -# NOTE: is 4844 worse than ignore -sp_before_sparen = remove # ignore/add/remove/force +sp_before_sparen = remove # ignore/add/remove/force #force # Add or remove space inside if-condition '(' and ')' # NOTE: is 42 worse than ignore @@ -796,8 +795,7 @@ sp_before_for_colon = ignore # ignore/add/remove/force sp_extern_paren = ignore # ignore/add/remove/force # Control the space after the opening of a C++ comment '// A' vs '//A' -# NOTE: is 1436 worse than ignore -sp_cmt_cpp_start = add # ignore/add/remove/force +sp_cmt_cpp_start = add # ignore/add/remove/force #force # Controls the spaces between #else or #endif and a trailing comment # WARNING: Code doesn't seem to use this feature - delete from the config? -- 2.39.2