-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.clang-format
41 lines (31 loc) · 897 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
32
33
34
35
36
37
38
39
40
41
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: LLVM
UseTab: Never
TabWidth: 4
IndentWidth: 4
ColumnLimit: 0
SortIncludes: false
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: Consecutive
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
IndentCaseLabels: true
ReflowComments: true
BinPackParameters: true
# AlignOperands: true
# AlwaysBreakAfterReturnType: None
# AlwaysBreakBeforeMultilineStrings: true
# BreakBeforeBraces: Attach
# DerivePointerAlignment: false
# NamespaceIndentation: All
# Language: C
Language: Cpp
Standard: c++17
AccessModifierOffset: -4