-
Notifications
You must be signed in to change notification settings - Fork 96
/
.clang-format
36 lines (35 loc) · 1.03 KB
/
.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
34
35
36
---
# Created at https://zed0.co.uk/clang-format-configurator/
AllowShortBlocksOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: 'false'
AccessModifierOffset: '-4'
AlignEscapedNewlines: 'Left'
AlwaysBreakTemplateDeclarations: 'true'
BinPackParameters: false
BinPackArguments: false
BreakBeforeBraces: Custom
BreakConstructorInitializers: 'BeforeComma'
ColumnLimit: '140'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
IndentCaseLabels: 'false'
IndentWidth: '4'
IndentWrappedFunctionNames: 'false'
ForEachMacros: ['TEST_CLASS']
KeepEmptyLinesAtTheStartOfBlocks: 'false'
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: All
PenaltyReturnTypeOnItsOwnLine: 100
PointerAlignment: Left
SortIncludes: 'false'
SpaceAfterCStyleCast: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: 'false'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInContainerLiterals: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
UseTab: Never
...