Skip to content

Instantly share code, notes, and snippets.

@Ashton-W
Created April 22, 2015 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ashton-W/c676f4a0bec4894447f3 to your computer and use it in GitHub Desktop.
Save Ashton-W/c676f4a0bec4894447f3 to your computer and use it in GitHub Desktop.
my current clang format
---
Language: Cpp
BasedOnStyle: LLVM
AccessModifierOffset: -1
AlignEscapedNewlinesLeft: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: None
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: true
BinPackParameters: false
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: true
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
KeepEmptyLinesAtTheStartOfBlocks: false
ObjCSpaceAfterProperty: true
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyReturnTypeOnItsOwnLine: 200
Standard: Auto
IndentWidth: 4
BreakBeforeBraces: Linux
SpacesInContainerLiterals: false
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment