You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2023/02/04 23:22:31 UTC
[mynewt-nimble] 01/02: Fix uncrustify configuration
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit f32f28c9e331b9f6b277116afbf7a3a9e9ce984a
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Fri Feb 3 16:10:04 2023 +0100
Fix uncrustify configuration
This changes required aligmnent of closing parenthesis of function call
if placed in new line.
Before:
int x = func(aaa, bbb, ccc,
);
After:
int x = func(aaa, bbb, ccc,
);
The syntax above is not really used, but it also affects macros so may
be useful in some cases.
---
uncrustify.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uncrustify.cfg b/uncrustify.cfg
index 2bdd2ac5..1735f339 100644
--- a/uncrustify.cfg
+++ b/uncrustify.cfg
@@ -225,7 +225,7 @@ indent_paren_nl = false # false/true
# 0: Indent to body level
# 1: Align under the open paren
# 2: Indent to the brace level
-indent_paren_close = 0 # number
+indent_paren_close = 2 # number
# Controls the indent of a comma when inside a paren.If TRUE, aligns under the open paren
indent_comma_paren = false # false/true