-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
45 lines (44 loc) · 1.08 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
37
38
39
40
41
42
43
44
45
# Common settings
# BasedOnStyle: Microsoft
TabWidth: 4
IndentWidth: 4
UseTab: Always
ColumnLimit: 120
Language: Cpp
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: 1
AllowShortFunctionsOnASingleLine: Empty
DerivePointerAlignment: false
PointerAlignment: Left
AlignConsecutiveAssignments: false
AlignAfterOpenBracket: BlockIndent
BinPackArguments: false
SpacesInSquareBrackets: false
AllowShortIfStatementsOnASingleLine: true
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
PPIndentWidth: 1
Cpp11BracedListStyle: false
SpaceInEmptyBlock: true
KeepEmptyLinesAtTheStartOfBlocks: false
PackConstructorInitializers: NextLine
BreakConstructorInitializers: BeforeColon
NamespaceIndentation: All
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterStruct: false
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
SplitEmptyFunction: false