-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
30 lines (29 loc) · 743 Bytes
/
.clang-format
File metadata and controls
30 lines (29 loc) · 743 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
---
Language: Cpp
BasedOnStyle: Google
PointerAlignment: Right
AccessModifierOffset: -4
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
AfterCaseLabel: true
BreakBeforeBraces: Attach
ColumnLimit: 120
IndentWidth: 4
TabWidth: 4
IncludeBlocks: Preserve
SpacesBeforeTrailingComments: 1
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true