esp32_BNO08x/.clang-format

36 lines
778 B
Plaintext
Raw Normal View History

2023-11-14 17:27:11 +00:00
---
BasedOnStyle: LLVM
2023-11-14 17:27:11 +00:00
Standard: Cpp11
UseTab: Never
IndentWidth: 4
ConstructorInitializerIndentWidth: 4
2023-11-14 17:27:11 +00:00
ContinuationIndentWidth: 8
AccessModifierOffset: -4
AlwaysBreakTemplateDeclarations: true
BreakConstructorInitializersBeforeComma: true
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
2023-11-14 17:27:11 +00:00
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlignAfterOpenBracket: DontAlign
DerivePointerAlignment: false
PointerAlignment: Left
SortIncludes: false
SpaceAfterCStyleCast: true
CommentPragmas: '^[/!]<'
ColumnLimit: 150 # Adjusted column limit to prevent line breaks
BreakBeforeBraces: Allman
IndentAccessModifiers: true