From 4fb8848ce469d788093cc363ca8ad977c2fc1fa8 Mon Sep 17 00:00:00 2001 From: daniel-k Date: Tue, 3 Nov 2015 16:45:55 +0100 Subject: [PATCH] uncrustify: add braces around if --- uncrustify-riot.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/uncrustify-riot.cfg b/uncrustify-riot.cfg index b5be41bc29..91f5f5ee6b 100644 --- a/uncrustify-riot.cfg +++ b/uncrustify-riot.cfg @@ -29,6 +29,7 @@ nl_fdef_brace = add # "int foo() {" vs "int foo()\n{" # mod_paren_on_return = remove # "return 1;" vs "return (1);" +mod_full_brace_if = add # "if() { } else { }" vs "if() else" # # inter-character spacing options