From 1d2b751c50be84f41a5ce1911f2b641933ca7651 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 16 Mar 2019 10:19:10 +0000 Subject: [PATCH] Adjust uncrustify.cfg --- contrib/uncrustify.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/uncrustify.cfg b/contrib/uncrustify.cfg index 4f15b89ed..a5b78fb7e 100644 --- a/contrib/uncrustify.cfg +++ b/contrib/uncrustify.cfg @@ -11,8 +11,8 @@ indent_brace = 2 nl_enum_brace = remove # "enum {" vs "enum \n {" nl_union_brace = remove # "union {" vs "union \n {" nl_struct_brace = remove # "struct {" vs "struct \n {" -nl_do_brace = add # "do {" vs "do \n {" -nl_if_brace = add # "if () {" vs "if () \n {" +nl_do_brace = add # "do {" vs "do \n {" +nl_if_brace = add # "if () {" vs "if () \n {" nl_for_brace = add # "for () {" vs "for () \n {" nl_else_brace = add # "else {" vs "else \n {" nl_while_brace = add # "while () {" vs "while () \n {" @@ -22,7 +22,7 @@ nl_before_case = 1 nl_fcall_brace = add # "foo() {" vs "foo()\n{" nl_fdef_brace = add # "int foo() {" vs "int foo()\n{" # nl_after_return = TRUE -nl_brace_while = remove +nl_brace_while = add nl_brace_else = add nl_squeeze_ifdef = TRUE -- 2.25.1