Statistics
| Branch: | Tag: | Revision:

hlrc / .clang-format @ 90fa4b4e

History | View | Annotate | Download (1.897 KB)

1
---
2
BasedOnStyle:  Google
3
ColumnLimit:    125
4
MaxEmptyLinesToKeep: 1
5
SortIncludes: false
6

    
7
Standard:        Auto
8
IndentWidth:     3
9
TabWidth:        3
10
UseTab:          ForIndentation
11
AccessModifierOffset: -3
12
ConstructorInitializerIndentWidth: 3
13
NamespaceIndentation: None
14
ContinuationIndentWidth: 3
15
IndentCaseLabels: true
16
IndentFunctionDeclarationAfterType: false
17

    
18
AlignEscapedNewlinesLeft: false
19
AlignTrailingComments: true
20

    
21
AllowAllParametersOfDeclarationOnNextLine: false
22
ExperimentalAutoDetectBinPacking: false
23
ObjCSpaceBeforeProtocolList: true
24
Cpp11BracedListStyle: false
25

    
26
AllowShortBlocksOnASingleLine: true
27
AllowShortIfStatementsOnASingleLine: false
28
AllowShortLoopsOnASingleLine: false
29
AllowShortFunctionsOnASingleLine: None
30
AllowShortCaseLabelsOnASingleLine: false
31

    
32
AlwaysBreakTemplateDeclarations: true
33
AlwaysBreakBeforeMultilineStrings: false
34
BreakBeforeBinaryOperators: false
35
BreakBeforeTernaryOperators: false
36
BreakConstructorInitializersBeforeComma: true
37

    
38
BinPackParameters: true
39
ConstructorInitializerAllOnOneLineOrOnePerLine: true
40
DerivePointerBinding: false
41
PointerBindsToType: true
42

    
43
PenaltyExcessCharacter: 50
44
PenaltyBreakBeforeFirstCallParameter: 30
45
PenaltyBreakComment: 1000
46
PenaltyBreakFirstLessLess: 10
47
PenaltyBreakString: 100
48
PenaltyReturnTypeOnItsOwnLine: 50
49

    
50
SpacesBeforeTrailingComments: 1
51
SpacesInParentheses: false
52
SpacesInAngles:  false
53
SpaceInEmptyParentheses: false
54
SpacesInCStyleCastParentheses: false
55
SpaceAfterCStyleCast: false
56
SpaceAfterControlStatementKeyword: true
57
SpaceBeforeAssignmentOperators: true
58

    
59
# Configure each individual brace in BraceWrapping
60
BreakBeforeBraces: Custom
61

    
62
# Control of individual brace wrapping cases
63
BraceWrapping:
64
    AfterCaseLabel: true
65
    AfterClass: false
66
    AfterControlStatement: false
67
    AfterEnum: true
68
    AfterFunction: false
69
    AfterNamespace: false
70
    AfterStruct: false
71
    AfterUnion: false
72
    BeforeCatch: true
73
    BeforeElse: true
74
    IndentBraces: false
75
...