Update uncrustify.cfg

This commit is contained in:
2020-01-15 15:22:01 +01:00
parent 691f3df28d
commit aae3e5f89f

View File

@@ -49,7 +49,7 @@ disable_processing_cmt = " *INDENT-OFF*" # string
enable_processing_cmt = " *INDENT-ON*" # string enable_processing_cmt = " *INDENT-ON*" # string
# Enable parsing of digraphs. # Enable parsing of digraphs.
enable_digraphs = false # true/false enable_digraphs = true # true/false
# Add or remove the UTF-8 BOM (recommend 'remove'). # Add or remove the UTF-8 BOM (recommend 'remove').
utf8_bom = ignore # ignore/add/remove/force utf8_bom = ignore # ignore/add/remove/force
@@ -59,16 +59,16 @@ utf8_bom = ignore # ignore/add/remove/force
utf8_byte = false # true/false utf8_byte = false # true/false
# Force the output encoding to UTF-8. # Force the output encoding to UTF-8.
utf8_force = false # true/false utf8_force = true # true/false
# Add or remove space between 'do' and '{'. # Add or remove space between 'do' and '{'.
sp_do_brace_open = ignore # ignore/add/remove/force sp_do_brace_open = add # ignore/add/remove/force
# Add or remove space between '}' and 'while'. # Add or remove space between '}' and 'while'.
sp_brace_close_while = ignore # ignore/add/remove/force sp_brace_close_while = add # ignore/add/remove/force
# Add or remove space between 'while' and '('. # Add or remove space between 'while' and '('.
sp_while_paren_open = ignore # ignore/add/remove/force sp_while_paren_open = add # ignore/add/remove/force
# #
# Spacing options # Spacing options
@@ -76,20 +76,20 @@ sp_while_paren_open = ignore # ignore/add/remove/force
# Add or remove space around non-assignment symbolic operators ('+', '/', '%', # Add or remove space around non-assignment symbolic operators ('+', '/', '%',
# '<<', and so forth). # '<<', and so forth).
sp_arith = ignore # ignore/add/remove/force sp_arith = add # ignore/add/remove/force
# Add or remove space around arithmetic operators '+' and '-'. # Add or remove space around arithmetic operators '+' and '-'.
# #
# Overrides sp_arith. # Overrides sp_arith.
sp_arith_additive = ignore # ignore/add/remove/force sp_arith_additive = add # ignore/add/remove/force
# Add or remove space around assignment operator '=', '+=', etc. # Add or remove space around assignment operator '=', '+=', etc.
sp_assign = ignore # ignore/add/remove/force sp_assign = add # ignore/add/remove/force
# Add or remove space around '=' in C++11 lambda capture specifications. # Add or remove space around '=' in C++11 lambda capture specifications.
# #
# Overrides sp_assign. # Overrides sp_assign.
sp_cpp_lambda_assign = ignore # ignore/add/remove/force sp_cpp_lambda_assign = add # ignore/add/remove/force
# Add or remove space after the capture specification of a C++11 lambda when # Add or remove space after the capture specification of a C++11 lambda when
# an argument list is present, as in '[] <here> (int x){ ... }'. # an argument list is present, as in '[] <here> (int x){ ... }'.