Uncrustify: Force space around else braces
parent
80651b53b1
commit
25a0c9356d
|
@ -1,7 +1,7 @@
|
|||
# Ambrevar C-style
|
||||
|
||||
# Inspired by K&R and Go, with function opening brace on the same line.
|
||||
# We enforce some sane properties, such as UTF-8, LF newlines
|
||||
# We enforce some sane properties, such as UTF-8 and LF newlines.
|
||||
# No alignment, tab-indented.
|
||||
|
||||
################################################################################
|
||||
|
@ -100,6 +100,8 @@ sp_func_def_paren = remove # "int foo () {" -> "int foo() {"
|
|||
sp_func_proto_paren = remove # "int foo ();" -> "int foo();"
|
||||
sp_func_call_paren = remove # "foo (" -> "foo("
|
||||
sp_return_paren = remove # "return (1);" -> "return(1);"
|
||||
sp_else_brace = force # "else{" -> "else {"
|
||||
sp_brace_else = force # "}else" -> "} else"
|
||||
|
||||
# Add or remove space before pointer star '*'
|
||||
sp_before_ptr_star = force # ignore/add/remove/force
|
||||
|
|
Loading…
Reference in New Issue