Skip to content

Instantly share code, notes, and snippets.

@jsun969
Last active April 30, 2024 13:39
Show Gist options
  • Save jsun969/d58ce320470e67c73b70846370401be0 to your computer and use it in GitHub Desktop.
Save jsun969/d58ce320470e67c73b70846370401be0 to your computer and use it in GitHub Desktop.
Clang Format Config
BasedOnStyle: LLVM
UseTab: Always
IndentWidth: 2
TabWidth: 2
BreakBeforeBraces: Attach
AllowShortIfStatementsOnASingleLine: WithoutElse
IndentCaseLabels: true
ColumnLimit: 0
NamespaceIndentation: All
FixNamespaceComments: false
Cpp11BracedListStyle: false
SpaceBeforeCpp11BracedList: true
DerivePointerAlignment: false
PointerAlignment: Left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment