You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2025/06/26 19:28:11 UTC
(mynewt-core) 03/03: ci: Adjust .clang-format to recognize LINK_TABLE_FOREACH
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 <je...@codecoup.pl>
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 <je...@gmail.com>
---
.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'