-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
35 lines (35 loc) · 859 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
Language: Cpp
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
BasedOnStyle: LLVM
UseTab: ForContinuationAndIndentation
ColumnLimit: 0
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
AllowShortIfStatementsOnASingleLine: true
SortIncludes: true
IndentWidth: 8
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: DontAlign
AlignConsecutiveMacros: true
NamespaceIndentation: All
AccessModifierOffset: -8
IncludeCategories:
- Regex: "^<rawrbox/.*>"
Priority: 1
- Regex: '^<.*\.hpp>'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 3
- Regex: "^<.*"
Priority: 4
- Regex: ".*"
Priority: 5
IncludeBlocks: Regroup
DerivePointerAlignment: false
PointerAlignment: Left
ReferenceAlignment: Left
AllowShortCaseLabelsOnASingleLine: true
IndentCaseBlocks: true
IndentCaseLabels: true
IndentPPDirectives: BeforeHash