-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
39 lines (36 loc) · 897 Bytes
/
Copy path.clang-format
File metadata and controls
39 lines (36 loc) · 897 Bytes
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
# .clang-format
Language: Cpp
BasedOnStyle: Microsoft
IndentWidth: 4
TabWidth: 4
UseTab: Never
AllowShortCaseExpressionOnASingleLine: true
AllowShortLambdasOnASingleLine: Empty
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
BreakTemplateDeclarations: Yes
SpaceBeforeParens: ControlStatements
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpacesInParentheses: false
SpacesInAngles: false
SpaceBeforeSquareBrackets: false
ColumnLimit: 120
SortIncludes: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<.*>'
Priority: 1
- Regex: '^".*"$'
Priority: 2
- Regex: '.*'
Priority: 3
Cpp11BracedListStyle: true
DerivePointerAlignment: false
PointerAlignment: Left
AlignTrailingComments: true
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
IndentCaseLabels: false
AccessModifierOffset: -4