Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save MinHyeok-lee1/6913fb01eb82f467d9b0b1a1a37a70c8 to your computer and use it in GitHub Desktop.

Select an option

Save MinHyeok-lee1/6913fb01eb82f467d9b0b1a1a37a70c8 to your computer and use it in GitHub Desktop.
.clang-format (example)
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Never
BreakBeforeBraces: Allman
AllowShortFunctionsOnASingleLine: Empty
IndentCaseLabels: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignTrailingComments: true
ColumnLimit: 100
PointerAlignment: Left
ReferenceAlignment: Left
NamespaceIndentation: All
SortIncludes: false
BasedOnStyle: Google
IndentWidth: 2
TabWidth: 2
UseTab: Never
ColumnLimit: 100
AllowShortFunctionsOnASingleLine: Inline
DerivePointerAlignment: false
PointerAlignment: Left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment