-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
30 lines (30 loc) · 865 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
---
BasedOnStyle: Google
SortIncludes: false
AlignEscapedNewlines: Left
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
ColumnLimit: 78
IndentWidth: 4
SpacesInAngles: false
SpaceInEmptyParentheses: false
SpacesInContainerLiterals: false
IndentFunctionDeclarationAfterType: true
PenaltyBreakComment: 0
BreakBeforeBraces: Allman
UseTab: Never
AlignAfterOpenBracket: BlockIndent
BinPackArguments: false
BinPackParameters: false
# Contructor initializers
PackConstructorInitializers: Never
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: BeforeComma
IndentAccessModifiers: false
AccessModifierOffset: -4
...