-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.clang-format
More file actions
33 lines (33 loc) · 809 Bytes
/
.clang-format
File metadata and controls
33 lines (33 loc) · 809 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
27
28
29
30
31
32
33
BasedOnStyle: LLVM
Language: Cpp
Standard: c++17
UseTab: Never
IndentWidth: 2
TabWidth: 2
ColumnLimit: 140
PointerAlignment: Left
ReferenceAlignment: Left
SpaceBeforeParens: ControlStatements
SortIncludes: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignTrailingComments: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Always
AfterEnum: false
AfterFunction: false
AfterNamespace: true
AfterStruct: false
AfterUnion: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SpaceInEmptyParentheses: false
Cpp11BracedListStyle: true