Обновление до 0.72.0

This commit is contained in:
Andrei Astafev 2020-11-07 23:17:04 +03:00
parent 7424dcf8eb
commit ee1718a091

View File

@ -1,4 +1,4 @@
# Uncrustify-0.70.1_f # Uncrustify-0.72.0_f
# #
# General options # General options
@ -240,12 +240,22 @@ sp_after_byref_func = ignore # ignore/add/remove/force
# prototype or function definition. # prototype or function definition.
sp_before_byref_func = ignore # ignore/add/remove/force sp_before_byref_func = ignore # ignore/add/remove/force
# Add or remove space between type and word. # Add or remove space between type and word. In cases where total removal of
# whitespace would be a syntax error, a value of 'remove' is treated the same
# as 'force'.
#
# This also affects some other instances of space following a type that are
# not covered by other options; for example, between the return type and
# parenthesis of a function type template argument, between the type and
# parenthesis of an array parameter, or between 'decltype(...)' and the
# following word.
# #
# Default: force # Default: force
sp_after_type = force # ignore/add/remove/force sp_after_type = force # ignore/add/remove/force
# Add or remove space between 'decltype(...)' and word. # Add or remove space between 'decltype(...)' and word.
#
# Overrides sp_after_type.
sp_after_decltype = ignore # ignore/add/remove/force sp_after_decltype = ignore # ignore/add/remove/force
# (D) Add or remove space before the parenthesis in the D constructs # (D) Add or remove space before the parenthesis in the D constructs
@ -367,6 +377,9 @@ sp_cpp_before_struct_binding = ignore # ignore/add/remove/force
# Add or remove space inside a non-empty '[' and ']'. # Add or remove space inside a non-empty '[' and ']'.
sp_inside_square = ignore # ignore/add/remove/force sp_inside_square = ignore # ignore/add/remove/force
# Add or remove space inside '[]'.
sp_inside_square_empty = ignore # ignore/add/remove/force
# (OC) Add or remove space inside a non-empty Objective-C boxed array '@[' and # (OC) Add or remove space inside a non-empty Objective-C boxed array '@[' and
# ']'. If set to ignore, sp_inside_square is used. # ']'. If set to ignore, sp_inside_square is used.
sp_inside_square_oc_array = ignore # ignore/add/remove/force sp_inside_square_oc_array = ignore # ignore/add/remove/force
@ -545,7 +558,7 @@ sp_square_fparen = ignore # ignore/add/remove/force
# Add or remove space between ')' and '{' of function. # Add or remove space between ')' and '{' of function.
sp_fparen_brace = ignore # ignore/add/remove/force sp_fparen_brace = ignore # ignore/add/remove/force
# Add or remove space between ')' and '{' of s function call in object # Add or remove space between ')' and '{' of a function call in object
# initialization. # initialization.
# #
# Overrides sp_fparen_brace. # Overrides sp_fparen_brace.
@ -1289,7 +1302,7 @@ indent_oc_block_msg_from_brace = false # true/false
indent_min_vbrace_open = 0 # unsigned number indent_min_vbrace_open = 0 # unsigned number
# Whether to add further spaces after regular indent to reach next tabstop # Whether to add further spaces after regular indent to reach next tabstop
# when identing after virtual brace open and newline. # when indenting after virtual brace open and newline.
indent_vbrace_open_on_tabstop = false # true/false indent_vbrace_open_on_tabstop = false # true/false
# How to indent after a brace followed by another token (not a newline). # How to indent after a brace followed by another token (not a newline).
@ -1339,11 +1352,16 @@ indent_single_after_return = false # true/false
# have their own indentation). # have their own indentation).
indent_ignore_asm_block = false # true/false indent_ignore_asm_block = false # true/false
# Don't indent the close parenthesis of a function definition,
# if the parenthesis is on its own line.
donot_indent_func_def_close_paren = false # true/false
# #
# Newline adding and removing options # Newline adding and removing options
# #
# Whether to collapse empty blocks between '{' and '}'. # Whether to collapse empty blocks between '{' and '}'.
# If true, overrides nl_inside_empty_func
nl_collapse_empty_body = false # true/false nl_collapse_empty_body = false # true/false
# Don't split one-line braced assignments, as in 'foo_t f = { 1, 2 };'. # Don't split one-line braced assignments, as in 'foo_t f = { 1, 2 };'.
@ -1976,6 +1994,10 @@ nl_split_for_one_liner = false # true/false
# adding a newline, as in 'while (expr) <here> stmt;'. # adding a newline, as in 'while (expr) <here> stmt;'.
nl_split_while_one_liner = false # true/false nl_split_while_one_liner = false # true/false
# Don't add a newline before a cpp-comment in a parameter list of a function
# call.
donot_add_nl_before_cpp_comment = false # true/false
# #
# Blank line options # Blank line options
# #
@ -1986,6 +2008,10 @@ nl_max = 3 # unsigned number
# The maximum number of consecutive newlines in a function. # The maximum number of consecutive newlines in a function.
nl_max_blank_in_func = 2 # unsigned number nl_max_blank_in_func = 2 # unsigned number
# The number of newlines inside an empty function body.
# This option is overridden by nl_collapse_empty_body=true
nl_inside_empty_func = 0 # unsigned number
# The number of newlines before a function prototype. # The number of newlines before a function prototype.
nl_before_func_body_proto = 0 # unsigned number nl_before_func_body_proto = 0 # unsigned number
@ -2242,6 +2268,9 @@ pos_class_colon = trail # ignore/break/force/lead/trail/join/
# Related to nl_constr_colon, nl_constr_init_args and pos_constr_comma. # Related to nl_constr_colon, nl_constr_init_args and pos_constr_comma.
pos_constr_colon = trail_force # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force pos_constr_colon = trail_force # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
# The position of shift operators in wrapped expressions.
pos_shift = lead # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
# #
# Line splitting options # Line splitting options
# #
@ -2551,6 +2580,10 @@ align_pp_define_gap = 0 # unsigned number
# Default: true # Default: true
align_left_shift = true # true/false align_left_shift = true # true/false
# Whether to align comma-separated statements following '<<' (as used to
# initialize Eigen matrices).
align_eigen_comma_init = true # true/false
# Whether to align text after 'asm volatile ()' colons. # Whether to align text after 'asm volatile ()' colons.
align_asm_colon = false # true/false align_asm_colon = false # true/false
@ -3034,6 +3067,11 @@ debug_max_number_of_loops = 0 # number
# 0: nothing protocol. # 0: nothing protocol.
debug_line_number_to_protocol = 0 # number debug_line_number_to_protocol = 0 # number
# Set the number of second(s) before terminating formatting the current file,
# 0: no timeout.
# only for linux
debug_timeout = 0 # number
# Meaning of the settings: # Meaning of the settings:
# Ignore - do not do any changes # Ignore - do not do any changes
# Add - makes sure there is 1 or more space/brace/newline/etc # Add - makes sure there is 1 or more space/brace/newline/etc
@ -3086,5 +3124,5 @@ debug_line_number_to_protocol = 0 # number
# `macro-close END_MESSAGE_MAP` # `macro-close END_MESSAGE_MAP`
# #
# #
# option(s) with 'not default' value: 160 # option(s) with 'not default' value: 161
# #