.clang-format 791 Bytes
Newer Older
1 2 3 4 5 6 7
---
Language: Cpp
BasedOnStyle: LLVM
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
Michael Reeves's avatar
Michael Reeves committed
8
IndentCaseLabels: true
9 10 11
IndentWidth: 4
TabWidth: 4
UseTab: Never
Michael Reeves's avatar
Michael Reeves committed
12
AllowShortFunctionsOnASingleLine: Inline
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
AllowShortBlocksOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
ColumnLimit: 0
DerivePointerAlignment: true
PointerAlignment: Left
BreakBeforeBraces: Custom
BraceWrapping:
  AfterClass:      true
  AfterControlStatement: true
  AfterEnum:       true
  AfterFunction:   true
  AfterNamespace:  false
  AfterStruct:     false
  AfterUnion:      false
  BeforeCatch:     true
  BeforeElse:      true
  IndentBraces:    false
...