-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-format
28 lines (28 loc) · 1.15 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
---
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AllowShortLambdasOnASingleLine: None
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: false
IncludeCategories: # From https://gist.github.com/intinig/9bba3a3faee80250b781bf916a4ab8b7
- Regex: '.*\.generated\.h'
Priority: 100
- Regex: '.*(PCH).*'
Priority: -1
- Regex: '".*"'
Priority: 1
- Regex: '^<.*\.(h)>'
Priority: 3
- Regex: '^<.*>'
Priority: 4
IndentWidth: 4
ObjCBlockIndentWidth: 4
ObjCBreakBeforeNestedBlockParam: false
PointerAlignment: Left
SpacesInContainerLiterals: false
Standard: c++11
TabWidth: 4
UseTab: Always
...