-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.clang-format
More file actions
26 lines (26 loc) · 840 Bytes
/
Copy path.clang-format
File metadata and controls
26 lines (26 loc) · 840 Bytes
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
IndentWidth: 4
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: true
#IndentExportBlock: true
IndentGotoLabels: true
IncludeBlocks: Regroup
ColumnLimit: 80
PointerAlignment: Right
MaxEmptyLinesToKeep: 1
BreakBeforeBinaryOperators: NonAssignment
AlignOperands: AlignAfterOperator
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignConsecutiveAssignments: false
AlignArrayOfStructures: Right
AlignAfterOpenBracket: BlockIndent
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortLoopsOnASingleLine: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: WithoutElse
EmptyLineBeforeAccessModifier: LogicalBlock
ContinuationIndentWidth: 4