Skip to content

Instantly share code, notes, and snippets.

@x5lcfd
Last active August 30, 2018 16:48
Show Gist options
  • Save x5lcfd/1bd2ceea6f2b93458cace4e905479130 to your computer and use it in GitHub Desktop.
Save x5lcfd/1bd2ceea6f2b93458cace4e905479130 to your computer and use it in GitHub Desktop.
clang format file
UseTab: Never
ColumnLimit: 0
IndentWidth: 4
AccessModifierOffset: -2
AllowShortIfStatementsOnASingleLine: false
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
IndentCaseLabels: false
BreakConstructorInitializers: BeforeComma
IndentCaseLabels: true
AlignEscapedNewlines: Right
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
SpaceBeforeAssignmentOperators: true
AlwaysBreakBeforeMultilineStrings: false
PointerAlignment: Right
SortIncludes: false
BinPackArguments: false
BinPackParameters: false
AllowAllParametersOfDeclarationOnNextLine: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterNamespace: false
AfterClass: true
AfterEnum: true
AfterControlStatement: true
AfterFunction: true
AfterObjCDeclaration: true
AfterStruct: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment