-
-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy path.clang-format
More file actions
22 lines (21 loc) · 765 Bytes
/
.clang-format
File metadata and controls
22 lines (21 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
Language : Cpp
BasedOnStyle : LLVM
AlignAfterOpenBracket : true
AlignEscapedNewlinesLeft : true
AlignConsecutiveAssignments : true
AllowShortFunctionsOnASingleLine : Inline
AlwaysBreakTemplateDeclarations : true
ColumnLimit : 160
ConstructorInitializerIndentWidth: 6
IndentCaseLabels : true
MaxEmptyLinesToKeep : 2
KeepEmptyLinesAtTheStartOfBlocks : false
NamespaceIndentation : All
PointerAlignment : Left
SpacesBeforeTrailingComments : 2
IndentWidth : 2
TabWidth : 2
UseTab : ForIndentation
SpaceBeforeParens : Never
...