Skip to content

Instantly share code, notes, and snippets.

@Nullkooland
Created December 27, 2020 08:57
Show Gist options
  • Save Nullkooland/bacc64efade1fa6398dea8685245895c to your computer and use it in GitHub Desktop.
Save Nullkooland/bacc64efade1fa6398dea8685245895c to your computer and use it in GitHub Desktop.
My ClangFormat configuration
BasedOnStyle: LLVM
UseTab: Never
IndentWidth: 4
DerivePointerAlignment: false
PointerAlignment: true
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: true
AlignOperands: true
AlignAfterOpenBracket: true
AlignConsecutiveBitFields: true
AlignConsecutiveMacros: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowAllConstructorInitializersOnNextLine: false
BinPackArguments: false
BinPackParameters: false
IncludeBlocks: Regroup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment