Обновление
This commit is contained in:
parent
827529ee2b
commit
69fc1a43df
12
default.cfg
12
default.cfg
@ -447,7 +447,7 @@ sp_before_constr_colon = force # ignore/add/remove/force
|
|||||||
sp_before_case_colon = remove # ignore/add/remove/force
|
sp_before_case_colon = remove # ignore/add/remove/force
|
||||||
|
|
||||||
# Add or remove space between 'operator' and operator sign.
|
# Add or remove space between 'operator' and operator sign.
|
||||||
sp_after_operator = ignore # ignore/add/remove/force
|
sp_after_operator = remove # ignore/add/remove/force
|
||||||
|
|
||||||
# Add or remove space between the operator symbol and the open parenthesis, as
|
# Add or remove space between the operator symbol and the open parenthesis, as
|
||||||
# in 'operator ++('.
|
# in 'operator ++('.
|
||||||
@ -514,7 +514,7 @@ sp_trailing_return = force # ignore/add/remove/force
|
|||||||
|
|
||||||
# Add or remove space between return type and function name. A minimum of 1
|
# Add or remove space between return type and function name. A minimum of 1
|
||||||
# is forced except for pointer return types.
|
# is forced except for pointer return types.
|
||||||
sp_type_func = ignore # ignore/add/remove/force
|
sp_type_func = force # ignore/add/remove/force
|
||||||
|
|
||||||
# Add or remove space between type and open brace of an unnamed temporary
|
# Add or remove space between type and open brace of an unnamed temporary
|
||||||
# direct-list-initialization.
|
# direct-list-initialization.
|
||||||
@ -605,7 +605,7 @@ sp_return_brace = ignore # ignore/add/remove/force
|
|||||||
sp_attribute_paren = ignore # ignore/add/remove/force
|
sp_attribute_paren = ignore # ignore/add/remove/force
|
||||||
|
|
||||||
# Add or remove space between 'defined' and '(' in '#if defined (FOO)'.
|
# Add or remove space between 'defined' and '(' in '#if defined (FOO)'.
|
||||||
sp_defined_paren = ignore # ignore/add/remove/force
|
sp_defined_paren = remove # ignore/add/remove/force
|
||||||
|
|
||||||
# Add or remove space between 'throw' and '(' in 'throw (something)'.
|
# Add or remove space between 'throw' and '(' in 'throw (something)'.
|
||||||
sp_throw_paren = ignore # ignore/add/remove/force
|
sp_throw_paren = ignore # ignore/add/remove/force
|
||||||
@ -1381,7 +1381,7 @@ nl_cs_property_leave_one_liners = false # true/false
|
|||||||
|
|
||||||
# Don't split one-line function definitions, as in 'int foo() { return 0; }'.
|
# Don't split one-line function definitions, as in 'int foo() { return 0; }'.
|
||||||
# might modify nl_func_type_name
|
# might modify nl_func_type_name
|
||||||
nl_func_leave_one_liners = false # true/false
|
nl_func_leave_one_liners = true # true/false
|
||||||
|
|
||||||
# Don't split one-line C++11 lambdas, as in '[]() { return 0; }'.
|
# Don't split one-line C++11 lambdas, as in '[]() { return 0; }'.
|
||||||
nl_cpp_lambda_leave_one_liners = true # true/false
|
nl_cpp_lambda_leave_one_liners = true # true/false
|
||||||
@ -1390,10 +1390,10 @@ nl_cpp_lambda_leave_one_liners = true # true/false
|
|||||||
nl_if_leave_one_liners = true # true/false
|
nl_if_leave_one_liners = true # true/false
|
||||||
|
|
||||||
# Don't split one-line while statements, as in 'while(...) b++;'.
|
# Don't split one-line while statements, as in 'while(...) b++;'.
|
||||||
nl_while_leave_one_liners = false # true/false
|
nl_while_leave_one_liners = true # true/false
|
||||||
|
|
||||||
# Don't split one-line for statements, as in 'for(...) b++;'.
|
# Don't split one-line for statements, as in 'for(...) b++;'.
|
||||||
nl_for_leave_one_liners = false # true/false
|
nl_for_leave_one_liners = true # true/false
|
||||||
|
|
||||||
# (OC) Don't split one-line Objective-C messages.
|
# (OC) Don't split one-line Objective-C messages.
|
||||||
nl_oc_msg_leave_one_liner = false # true/false
|
nl_oc_msg_leave_one_liner = false # true/false
|
||||||
|
Loading…
Reference in New Issue
Block a user