You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/01/31 07:32:59 UTC

[mynewt-core] branch master updated: uncrustify: Don't use deprecated config

This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new e470806e1 uncrustify: Don't use deprecated config
e470806e1 is described below

commit e470806e1c78e690eaff68754000208f31f55c8d
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Mon Jan 30 13:50:58 2023 +0100

    uncrustify: Don't use deprecated config
    
    Use sp_word_brace_init_lst instead of sp_word_brace
---
 uncrustify.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uncrustify.cfg b/uncrustify.cfg
index 481a62ab0..3a8551acc 100644
--- a/uncrustify.cfg
+++ b/uncrustify.cfg
@@ -678,7 +678,7 @@ sp_try_brace                    = ignore   # ignore/add/remove/force
 sp_getset_brace                 = ignore   # ignore/add/remove/force
 
 # Add or remove space between a variable and '{' for C++ uniform initialization. Default=Add
-sp_word_brace                   = add      # ignore/add/remove/force
+sp_word_brace_init_list         = add      # ignore/add/remove/force
 
 # Add or remove space between a variable and '{' for a namespace. Default=Add
 sp_word_brace_ns                = add      # ignore/add/remove/force