-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-format
31 lines (31 loc) · 934 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
AccessModifierOffset: 0
AlignEscapedNewlinesLeft: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
BinPackParameters: true
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: false
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: false
Cpp11BracedListStyle: true
DerivePointerBinding: false
IndentCaseLabels: true
IndentFunctionDeclarationAfterType: false
# Language: Cpp
MaxEmptyLinesToKeep: 3
NamespaceIndentation: Inner
PointerBindsToType: true
SpaceBeforeAssignmentOperators: true
# SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
Standard: Cpp11
UseTab: ForIndentation
TabWidth: 2