-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy path.clang-format
40 lines (39 loc) · 849 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
---
AccessModifierOffset: -8
AllowShortFunctionsOnASingleLine: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterFunction: true
AfterNamespace: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: true
BreakConstructorInitializers: BeforeComma
ColumnLimit: 100
CompactNamespaces: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '".*"'
Priority: 1
- Regex: '^<.*\.(h)>'
Priority: 3
- Regex: '^<.*>'
Priority: 4
IndentWidth: '8'
PointerAlignment: Left
SpaceBeforeRangeBasedForLoopColon: true
Standard: Cpp11
TabWidth: '8'
UseTab: Always
...