From: Rudolf Polzer Date: Thu, 7 Nov 2013 07:42:15 +0000 (+0100) Subject: Force // comment and if(cond) X-Git-Tag: xonotic-v0.8.0~266 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=28019ef65ce917e41209053ad45df6c88d42942e;ds=inline Force // comment and if(cond) --- diff --git a/qcsrc/uncrustify.cfg b/qcsrc/uncrustify.cfg index 728462d0bd..b2744e53ea 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?