summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2014-06-04 21:29:23 +0200
committerQC <qball@gmpclient.org>2014-06-04 21:29:23 +0200
commit9fbd7fc99ca26b8a32f5c27c5845a9648de6ce97 (patch)
tree3f53e008df3623e538b2f33b1d09d36b86d27bf6 /data
parent7667a88732d49c37eed4db8534e3f049cdacc8e8 (diff)
Re-indent.
Diffstat (limited to 'data')
-rw-r--r--data/uncrustify.cfg14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/uncrustify.cfg b/data/uncrustify.cfg
index 424e2d73..598e1684 100644
--- a/data/uncrustify.cfg
+++ b/data/uncrustify.cfg
@@ -13,11 +13,11 @@ indent_brace = 0
nl_enum_brace = add # "enum {" vs "enum \n {"
nl_union_brace = add # "union {" vs "union \n {"
nl_struct_brace = add # "struct {" vs "struct \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 {"
+nl_do_brace = remove # "do {" vs "do \n {"
+nl_if_brace = remove # "if () {" vs "if () \n {"
+nl_for_brace = remove # "for () {" vs "for () \n {"
+nl_else_brace = remove # "else {" vs "else \n {"
+nl_while_brace = remove # "while () {" vs "while () \n {"
nl_switch_brace = add # "switch () {" vs "switch () \n {"
# nl_func_var_def_blk = 1
# nl_before_case = 1
@@ -28,9 +28,9 @@ nl_brace_while = remove
nl_brace_else = add
nl_squeeze_ifdef = FALSE
-# mod_paren_on_return = add # "return 1;" vs "return (1);"
+mod_paren_on_return = remove # "return 1;" vs "return (1);"
mod_full_brace_if = add # "if (a) a--;" vs "if (a) { a--; }"
-mod_full_brace_for = add # "for () a--;" vs "for () { a--; }"
+mod_full_brace_for = add # "for () a--;" vs "for () { a--; }"
mod_full_brace_do = add # "do a--; while ();" vs "do { a--; } while ();"
mod_full_brace_while = add # "while (a) a--;" vs "while (a) { a--; }"