From 99c79bc8301e6871187e7b61abf806b6a2ef4ced Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Tue, 28 Feb 2023 21:40:19 -0600 Subject: [PATCH] project: Update formatting rules The uncrustify configuration has grown stale. Update it to work with uncrustify version 0.75.1. Signed-off-by: Samuel Holland --- .uncrustify | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.uncrustify b/.uncrustify index e135047d..0b1c711c 100644 --- a/.uncrustify +++ b/.uncrustify @@ -92,7 +92,7 @@ indent_access_spec = 1 indent_access_spec_body = false indent_align_assign = true indent_align_string = true -indent_bool_paren = false +indent_bool_paren = 0 indent_brace = 0 indent_brace_parent = false indent_braces = false @@ -107,7 +107,7 @@ indent_class_on_colon = false indent_cmt_with_tabs = false indent_col1_comment = false indent_columns = 8 -indent_comma_paren = false +indent_comma_paren = 0 indent_constr_colon = false indent_continue = 0 indent_cpp_lambda_body = false @@ -152,8 +152,8 @@ indent_paren_nl = false indent_paren_open_brace = false indent_preserve_sql = false indent_relative_single_line_comments = false -indent_shift = false -indent_sing_line_comments = 0 +indent_shift = 0 +indent_single_line_comments_before = 0 indent_square_nl = false indent_switch_case = 0 indent_switch_pp = true @@ -181,7 +181,7 @@ mod_full_brace_do = force mod_full_brace_for = remove mod_full_brace_function = ignore mod_full_brace_if = remove -mod_full_brace_if_chain = true +mod_full_brace_if_chain = 1 mod_full_brace_if_chain_only = false mod_full_brace_nl = 2 mod_full_brace_nl_block_rem_mlcond = false @@ -399,7 +399,7 @@ pp_if_indent_code = false pp_ignore_define_body = false pp_indent = remove pp_indent_at_level = false -pp_indent_brace = true +pp_indent_brace = 1 pp_indent_case = true pp_indent_count = 1 pp_indent_extern = true @@ -489,7 +489,7 @@ sp_before_sparen = force sp_before_square = remove sp_before_squares = remove sp_before_template_paren = ignore -sp_before_tr_emb_cmt = force +sp_before_tr_cmt = force sp_before_type_brace_init_lst_close = ignore sp_before_unnamed_byref = ignore sp_before_unnamed_ptr_star = force @@ -568,7 +568,7 @@ sp_macro = force sp_macro_func = force sp_member = remove sp_not = remove -sp_num_before_tr_emb_cmt = 1 +sp_num_before_tr_cmt = 1 sp_paren_brace = force sp_paren_comma = force sp_paren_paren = remove