-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
39 lines (38 loc) · 978 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
---
BasedOnStyle: LLVM
Language: Cpp
Standard: Latest
AccessModifierOffset: -4
IndentWidth: 4
AlignOperands: AlignAfterOperator
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterFunction: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
SplitEmptyFunction: false
ColumnLimit: 100
BreakConstructorInitializers: BeforeComma
AlwaysBreakTemplateDeclarations: Yes
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^".*'
Priority: 10
- Regex: '^<boost/.*'
Priority: 20
- Regex: '^<[[:alnum:]_]+\.h'
Priority: 30
- Regex: '^.*\/.*'
Priority: 40
- Regex: '.*'
Priority: 50
InsertNewlineAtEOF: true
LineEnding: LF
QualifierAlignment: Custom
QualifierOrder: [friend, inline, static, constexpr, type, const, volatile]
SpaceAfterTemplateKeyword: false
...