- Formatted all .c/.cpp/.h files using LLVM style (4-space indent, 88-char lines) - Fixed macro alignment, pointer alignment, brace placement - Updated .clang-format to use Cpp language (valid enum value) - Removed clang-tidy pre-commit hook (requires additional setup) - Pre-commit now runs clang-format for automated formatting - Verified: All boards still build without errors or warnings
18 lines
411 B
YAML
18 lines
411 B
YAML
---
|
|
Language: Cpp
|
|
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
ColumnLimit: 88
|
|
UseTab: Never
|
|
BreakBeforeBraces: Attach
|
|
AllowShortBlocksOnASingleLine: Never
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
BreakStringLiterals: true
|
|
PointerAlignment: Right
|
|
DerivePointerAlignment: false
|
|
SortIncludes: true
|
|
ReflowComments: true
|
|
MaxEmptyLinesToKeep: 2
|