szymon-czapracki commented on code in PR #3426:
URL: https://github.com/apache/mynewt-core/pull/3426#discussion_r2139814916


##########
.clang-format:
##########
@@ -0,0 +1,93 @@
+# Use LLVM style as a base
+BasedOnStyle: LLVM
+
+# Indentation settings
+IndentWidth: 4
+UseTab: Never
+TabWidth: 10
+
+# Line length
+ColumnLimit: 79
+PenaltyExcessCharacter: 2
+
+# Braces placement
+BreakBeforeBraces: Custom
+BraceWrapping:
+  AfterClass: true
+  AfterControlStatement: false
+  AfterEnum: true
+  AfterFunction: true
+  AfterNamespace: true
+  AfterStruct: false
+  AfterUnion: true
+  BeforeCatch: false
+  BeforeElse: false
+  IndentBraces: false
+  SplitEmptyFunction: false
+  SplitEmptyRecord: false
+  SplitEmptyNamespace: false
+
+StatementMacros: [
+                 static STATS_SECT_DECL,
+                 STATS_SECT_DECL,
+                 STATS_SECT_VAR,
+                 STATS_SECT_ENTRY,
+                 STATS_SECT_START,
+                 STATS_SECT_END,

Review Comment:
   Good advice, thanks :) Updated with MacroBlock options.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to