Skip to content

Instantly share code, notes, and snippets.

@cursey
Created January 30, 2020 14:04
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 cursey/d01dfc266ba9903de8e9968f6b0a67e8 to your computer and use it in GitHub Desktop.
Save cursey/d01dfc266ba9903de8e9968f6b0a67e8 to your computer and use it in GitHub Desktop.
My .clang-format
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 120
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: Left
AllowShortFunctionsOnASingleLine: InlineOnly
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: false
PointerAlignment: Left
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment