aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
blob: 390acb95784f5451d468d12d5c0fdc64245a6cd3 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
TabWidth: 8
IndentWidth: 8
PPIndentWidth: -1
UseTab: AlignWithSpaces
IndentPPDirectives: AfterHash
ColumnLimit: 100
AccessModifierOffset: -8
IndentRequiresClause: false
RequiresClausePosition: OwnLine
ContinuationIndentWidth: 8

ReflowComments: Always

SeparateDefinitionBlocks: Leave
AllowShortFunctionsOnASingleLine: None

BreakConstructorInitializers: BeforeComma
ConstructorInitializerIndentWidth: 8

BreakAfterReturnType: Automatic
PenaltyReturnTypeOnItsOwnLine: 0
BreakTemplateDeclarations: Yes

BracedInitializerIndentWidth: 8
BreakBeforeBraces: Custom
BraceWrapping:
  AfterCaseLabel: false
  AfterClass: true
  AfterControlStatement: Never
  AfterEnum: true
  AfterFunction: true
  AfterNamespace: false
  AfterStruct: true
  AfterUnion: true
  AfterExternBlock: false
  BeforeCatch: false
  BeforeElse: false
  BeforeLambdaBody: false
  SplitEmptyNamespace: true
  SplitEmptyRecord: true

NamespaceIndentation: None
FixNamespaceComments: true
#WrapNamespaceBodyWithEmptyLines: Always