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

sjanc 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 06f4fb34e ci: Add option to align macros
06f4fb34e is described below

commit 06f4fb34e7acadbfc530e643c749148c62b9db26
Author: Szymon Czapracki <[email protected]>
AuthorDate: Tue Jul 21 12:18:52 2026 +0200

    ci: Add option to align macros
    
    Modify macro alignment option for aligning
    macros (especially define statements).
    Align will be enforced across comments and empty lines.
---
 .clang-format | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.clang-format b/.clang-format
index 6df14529d..c2c5e49d9 100644
--- a/.clang-format
+++ b/.clang-format
@@ -65,7 +65,7 @@ BinPackArguments: true
 AlignAfterOpenBracket: Align
 AlignConsecutiveAssignments: false
 AlignConsecutiveDeclarations: false
-AlignConsecutiveMacros: true
+AlignConsecutiveMacros: AcrossEmptyLinesAndComments
 
 # Control statements
 AlwaysBreakAfterReturnType: TopLevelDefinitions

Reply via email to