BasedOnStyle: LLVM

Language: C
Standard: Latest

IndentWidth: 4
TabWidth: 4
UseTab: Never
ColumnLimit: 120

PointerAlignment: Left
ReferenceAlignment: Left
SpaceBeforeParens: ControlStatements

BreakBeforeBraces: Attach
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: Empty

BinPackArguments: true
BinPackParameters: true
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: Consecutive
AlignEscapedNewlines: Left
AlignOperands: Align

IncludeBlocks: Preserve
SortIncludes: Never

SpaceAfterCStyleCast: false
SpacesInParens: Never

IndentCaseLabels: false
IndentPPDirectives: None

MaxEmptyLinesToKeep: 1
KeepEmptyLines:
  AtEndOfFile: false
  AtStartOfBlock: false
  AtStartOfFile: false
