Skip to content

Instantly share code, notes, and snippets.

@mrowrpurr
Last active April 19, 2024 02:48
Show Gist options
  • Save mrowrpurr/b22749b6c974446e23230ba8ec55a30e to your computer and use it in GitHub Desktop.
Save mrowrpurr/b22749b6c974446e23230ba8ec55a30e to your computer and use it in GitHub Desktop.
My Clang Format
---
UseTab: Never
TabWidth: '4'
IndentWidth: '4'
BasedOnStyle: Google
AccessModifierOffset: -4
ColumnLimit: 100
NamespaceIndentation: All
IndentPPDirectives: BeforeHash
FixNamespaceComments: false
DerivePointerAlignment: false
AlignConsecutiveDeclarations: true
AlignConsecutiveAssignments: true
AlignArrayOfStructures: Right
PointerAlignment: Left
ReferenceAlignment: Left
AlignAfterOpenBracket: BlockIndent
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment