forked from scott/threaded_network_chat
22 lines
535 B
YAML
22 lines
535 B
YAML
# 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
|