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

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

commit 912e342bf39ab095a27abfe72ff2ad3f1b0faec3
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Mon Jun 23 23:21:29 2025 +0200

    ci: Adjust .clang-format to recognize LINK_TABLE_FOREACH
    
    LINK_TABLE_FOREACH is put to ForEachMacros section to
    format opening brace nicely
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 .clang-format | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.clang-format b/.clang-format
index 276f7fe43..f926ae46e 100644
--- a/.clang-format
+++ b/.clang-format
@@ -32,6 +32,7 @@ MacroBlockEnd: '(STATS_NAME_END|STATS_SECT_END)'
 StatementMacros: ['SLIST_HEAD']
 
 ForEachMacros:
+  - 'LINK_TABLE_FOREACH'
   - 'SLIST_FOREACH'
   - 'SLIST_FOREACH_FROM'
   - 'SLIST_FOREACH_SAFE'

Reply via email to