-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.clang-format
28 lines (28 loc) · 868 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
BasedOnStyle: LLVM
AlignArrayOfStructures: None
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveDeclarations: None
AlignConsecutiveBitFields: Consecutive
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignTrailingComments: true
AlignEscapedNewlines: Left
AllowShortBlocksOnASingleLine: Never
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
BreakBeforeBraces: Linux
IndentWidth: 4
ColumnLimit: 100
SortIncludes: false
KeepEmptyLinesAtTheStartOfBlocks: false
PointerBindsToType: true
SpacesBeforeTrailingComments: 1
TabWidth: 4
UseTab: Never
IndentPPDirectives: BeforeHash
SpaceBeforeParens: NonEmptyParentheses
PenaltyBreakAssignment: 400
PenaltyBreakOpenParenthesis: 900
PenaltyBreakBeforeFirstCallParameter: 900
Cpp11BracedListStyle: false