Files
lk/.clang-format
Travis Geiselbrecht 0a8a4354a9 [clang-format] first stab at a .clang-format file that matches the existing style
Not enabled by default, but if you want to use this one for now while
things are stabilized feel free. Going to move off astyle since this
seems to be superior now (wasn't always).

Also switched scripts/codestyle to use clang-format
2025-08-31 13:13:21 -07:00

14 lines
343 B
YAML

BasedOnStyle: LLVM
IndentWidth: 4
UseTab: Never
PointerAlignment: Right
InsertBraces: true
BreakBeforeBraces: Attach
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 0
IndentCaseLabels: true
IndentGotoLabels: false
AlignConsecutiveMacros:
Enabled: true