-
Notifications
You must be signed in to change notification settings - Fork 47
/
.clang-format
37 lines (36 loc) · 891 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
---
BasedOnStyle: Microsoft
AccessModifierOffset: '-4'
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: 'true'
AlignConsecutiveMacros: 'true'
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakBeforeBraces: Allman
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
ColumnLimit: '0'
Cpp11BracedListStyle: 'false'
IncludeBlocks: 'Regroup'
IncludeCategories:
- Regex: '".*"'
Priority: 1
- Regex: '<N(oesi)?s[[:alnum:]._/]+>'
Priority: 2
- Regex: '<Q[[:alnum:]/]+>'
Priority: 3
- Regex: '<[[:alnum:_]]+>'
Priority: 4
- Regex: '<[[:alnum:]._]+\>'
Priority: 5
IndentCaseLabels: 'true'
IndentWidth: '4'
SortIncludes: 'true'
SpaceBeforeCpp11BracedList: 'true'
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesInParentheses: 'true'
TabWidth: '4'
UseTab: ForContinuationAndIndentation
PointerAlignment: Left
...