initial commit

This commit is contained in:
2026-03-12 14:37:23 -05:00
commit e06203c5d9
7 changed files with 638 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# BSD KNF funcs + K&R blocks + other stuff
# Requires clang-format >=16
BasedOnStyle: LLVM # defaults
UseTab: Always
IndentWidth: 8
TabWidth: 8
ColumnLimit: 120
LineEnding: LF # unix
RemoveBracesLLVM: true # single-statement blocks
AlwaysBreakAfterReturnType: AllDefinitions # KNF functions
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true # KNF
AfterClass: false # K&R
AfterControlStatement: false # K&R
AfterNamespace: false # K&R
AfterStruct: false # K&R
BeforeElse: false # K&R
BeforeCatch: false # K&R