-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
33 lines (33 loc) · 977 Bytes
/
.clang-format
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
---
BasedOnStyle: Mozilla
AccessModifierOffset: '-1'
AlignTrailingComments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BreakAfterJavaFieldAnnotations: 'true'
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: AfterColon
ColumnLimit: '100'
DerivePointerAlignment: 'false'
IndentCaseLabels: 'true'
IndentPPDirectives: AfterHash
KeepEmptyLinesAtTheStartOfBlocks: 'false'
MaxEmptyLinesToKeep: '1'
PenaltyBreakAssignment: '5'
PenaltyBreakComment: '5'
PenaltyBreakString: '5'
PenaltyExcessCharacter: '100'
PenaltyReturnTypeOnItsOwnLine: '10'
PointerAlignment: Left
ReflowComments: 'true'
SpaceBeforeAssignmentOperators: 'true'
SpacesBeforeTrailingComments: '1'
SpacesInAngles: 'false'
SpacesInContainerLiterals: 'false'
Standard: Cpp11
CommentPragmas: '^\\.+'
...