-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
40 lines (40 loc) · 1.01 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
BasedOnStyle: "LLVM"
BreakBeforeBinaryOperators: All
BreakBeforeTernaryOperators: true
AlignAfterOpenBracket: "DontAlign"
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: "Empty"
BinPackParameters: false
Cpp11BracedListStyle: false
EmptyLineBeforeAccessModifier: "Always"
IncludeBlocks: "Regroup"
IncludeCategories:
- Regex: '^".*'
Priority: 3
CaseSensitive: true
- Regex: '^<c-utils/'
Priority: 2
CaseSensitive: true
- Regex: '^<.*'
Priority: 1
CaseSensitive: true
IndentGotoLabels: false
IndentPPDirectives: "None"
IndentWidth: 4
InsertNewlineAtEOF: true
InsertTrailingCommas: "None"
KeepEmptyLinesAtTheStartOfBlocks: false
Language: "Cpp"
LineEnding: "LF"
NamespaceIndentation: "All"
PackConstructorInitializers: "Never"
QualifierAlignment: "Left"
RemoveParentheses: "ReturnStatement"
RemoveSemicolon: true
SeparateDefinitionBlocks: "Always"
SpaceAfterTemplateKeyword: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: 1
TabWidth: 4
UseTab: "ForContinuationAndIndentation"