aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
blob: ff932d0d826cd720c2d117d9d968064c6ec2062f (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
45
46
47
48
49
50
51
52
53
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
AllowShortLambdasOnASingleLine: Inline

BreakConstructorInitializers: BeforeComma
ConstructorInitializerIndentWidth: 8

BreakAfterReturnType: Automatic
PenaltyReturnTypeOnItsOwnLine: 0
BreakTemplateDeclarations: Yes

ForEachMacros:
  - GIVEN
  - AND_GIVEN
  - THEN
  - AND_THEN
  - WHEN
  - AND_WHEN

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