aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
blob: 9ebf2186c16c6adf4fc2318b67e93463cc92151c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
AccessModifierOffset: -4
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
BasedOnStyle: LLVM
BreakBeforeBraces: Attach
ColumnLimit: 95
EmptyLineBeforeAccessModifier: Always
IndentAccessModifiers: false
IndentCaseLabels: true
IndentWidth: 4
Language: Cpp
Standard: Cpp11
TabWidth: 4
UseTab: Always
PointerAlignment: Middle
SpaceAfterCStyleCast: true
AlignConsecutiveAssignments:
  Enabled: false
AlignTrailingComments:
  Kind: Never
ReflowComments: false
AlignEscapedNewlines: DontAlign
BreakBeforeBinaryOperators: All
AlwaysBreakTemplateDeclarations: Yes
PackConstructorInitializers: CurrentLine
# only option that doesn't result in copious indentation
AlignAfterOpenBracket: BlockIndent
SpaceBeforeCpp11BracedList: true
...

# vim: ft=yaml