-
Notifications
You must be signed in to change notification settings - Fork 19
/
.clang-format
36 lines (35 loc) · 896 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
Language: Cpp
BasedOnStyle: WebKit
AlignAfterOpenBracket: Align
AlignEscapedNewlines: DontAlign
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Linux
BreakInheritanceList: BeforeComma
Cpp11BracedListStyle: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '"ui_.*'
Priority: 0
SortPriority: 1
- Regex: '".*/.*"'
Priority: 2
SortPriority: 3
- Regex: '".*"'
Priority: 2
- Regex: "<Q.*"
Priority: 4
- Regex: ".*"
Priority: 5
KeepEmptyLinesAtTheStartOfBlocks: false
NamespaceIndentation: None
PointerAlignment: Right
SpaceAfterTemplateKeyword: false
SpaceBeforeCpp11BracedList: false
ForEachMacros: ['forever']
TabWidth: 4
# vim: filetype=yaml