-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
57 lines (57 loc) · 1.42 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
BasedOnStyle: WebKit
IndentWidth: 4
---
Language: Cpp
ColumnLimit: 120
KeepEmptyLinesAtTheStartOfBlocks: false
SpaceAfterTemplateKeyword: false
SpaceAfterCStyleCast: true
AlignTrailingComments: true
BreakBeforeInheritanceComma: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
IndentPPDirectives: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: false
SplitEmptyFunction: false
IndentCaseLabels: true
AlignConsecutiveMacros: Consecutive
AlignEscapedNewlines: LeftWithLastLine
BreakBeforeBinaryOperators: None
AlignOperands: Align
AlignAfterOpenBracket: Align
AllowAllArgumentsOnNextLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
SpaceInEmptyBlock: false
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: false
RequiresClausePosition: OwnLine
IndentRequiresClause: false
QualifierAlignment: Custom
InsertBraces: true
MainIncludeChar: Any
IncludeBlocks: Regroup
MaxEmptyLinesToKeep: 1
IncludeCategories:
- Regex: "^<.*>"
Priority: 2
SortPriority: 2
- Regex: ".*"
Priority: 3
SortPriority: 3
QualifierOrder: ["constexpr", "static", "inline", "friend", "type", "const", "volatile"]
WhitespaceSensitiveMacros:
[
"IRIS_ARCH_INCLUDE",
"DIUS_ARCH_PATH",
"DIUS_PLATFORM_PATH",
"DIUS_ARCH_PLATFORM_PATH",
"__CCPP_ARCH_PATH",
"__CCPP_PLATFORM_PATH",
"__CCPP_ARCH_PLATFORM_PATH",
]