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

commit d01f4a05c1091ecbd1105d99096dfcab838fdfb1
Author: Szymon Czapracki <[email protected]>
AuthorDate: Fri Jun 13 14:46:48 2025 +0200

    ci: Adjust .clang-format to properly handle STATS macro blocks.
    
    Refined `MacroBlockBegin` and `MacroBlockEnd`
    to include `STATS_SECT_START` and `STATS_SECT_END`.
    Removed `STATS_NAME_START` and `STATS_NAME_END` from `StatementMacros`.
---
 .clang-format | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.clang-format b/.clang-format
index 60a879a06..276f7fe43 100644
--- a/.clang-format
+++ b/.clang-format
@@ -27,9 +27,9 @@ BraceWrapping:
   SplitEmptyRecord: false
   SplitEmptyNamespace: false
 
-MacroBlockBegin: '(STATS_NAME_START | STATS_SECT_DECL)'
-MacroBlockEnd: 'STATS_NAME_END'
-StatementMacros: ['SLIST_HEAD', 'STATS_NAME_START', 'STATS_NAME_END']
+MacroBlockBegin: '(STATS_NAME_START|STATS_SECT_START)'
+MacroBlockEnd: '(STATS_NAME_END|STATS_SECT_END)'
+StatementMacros: ['SLIST_HEAD']
 
 ForEachMacros:
   - 'SLIST_FOREACH'

Reply via email to