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-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new c4e6702f5 ci: Force clang-format to check empty function brace split
c4e6702f5 is described below

commit c4e6702f567b4364f9740b3b520dffd1105c4565
Author: Szymon Czapracki <[email protected]>
AuthorDate: Thu Dec 11 15:23:20 2025 +0100

    ci: Force clang-format to check empty function brace split
    
    Previously function braces were forced to be in one-line.
    We prefer to keep the braces separated by newline.
---
 .clang-format | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.clang-format b/.clang-format
index 193a5f6b5..6df14529d 100644
--- a/.clang-format
+++ b/.clang-format
@@ -23,7 +23,7 @@ BraceWrapping:
   BeforeCatch: false
   BeforeElse: false
   IndentBraces: false
-  SplitEmptyFunction: false
+  SplitEmptyFunction: true
   SplitEmptyRecord: false
   SplitEmptyNamespace: false
 

Reply via email to