Skip to content

Instantly share code, notes, and snippets.

@gicmo
Created August 28, 2017 22:48
Show Gist options
  • Save gicmo/eedf610d6e67dcc40f3a1e5a6d31c5e2 to your computer and use it in GitHub Desktop.
Save gicmo/eedf610d6e67dcc40f3a1e5a6d31c5e2 to your computer and use it in GitHub Desktop.
Clang format
BasedOnStyle: LLVM
IndentWidth: 8
UseTab: Always
BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
PointerAlignment: Right
ColumnLimit: 85
AlignOperands: true
AlignTrailingComments: true
AlwaysBreakAfterReturnType: AllDefinitions
SpaceBeforeParens: Always
AllowShortIfStatementsOnASingleLine: false
AlignAfterOpenBracket: Align
BinPackArguments: false
BinPackParameters: false
AllowAllParametersOfDeclarationOnNextLine: true
ExperimentalAutoDetectBinPacking: true
AlignAfterOpenBracket: Align
PenaltyExcessCharacter: 100
PenaltyBreakBeforeFirstCallParameter: 3000%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment