-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
43 lines (42 loc) · 1.07 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
---
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: Left
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AlignOperands: false
AlignTrailingComments: false
BreakAfterJavaFieldAnnotations: true
BreakBeforeBraces: Allman
BreakInheritanceList: AfterColon
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeComma
SpaceAfterTemplateKeyword: false
ColumnLimit: 200
CommentPragmas: '^/'
Cpp11BracedListStyle: true
FixNamespaceComments: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<.*\.hpp>'
Priority: 2
- Regex: '^<.*'
Priority: 1
- Regex: '.*'
Priority: 3
IndentWidth: 4
Language: Cpp
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
PointerAlignment: Right
SpaceBeforeParens: ControlStatements
Standard: Cpp11
TabWidth: 4
UseTab: Always
...