-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.clang-format
49 lines (49 loc) · 1.23 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
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 0
UseTab: Never
Standard: Latest
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: DontAlign
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Stroustrup
BreakConstructorInitializersBeforeComma: true
BreakInheritanceList: BeforeComma
ContinuationIndentWidth: 4
DerivePointerAlignment: true
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"\.\.\/'
Priority: 2
- Regex: '^"pomdog/'
Priority: 3
- Regex: '"catch_amalgamated.hpp"'
Priority: 4
- Regex: '<[[:alnum:]_]+>'
Priority: 6
- Regex: '^<[[:alnum:]]+'
Priority: 5
- Regex: '.*'
Priority: 1
NamespaceIndentation: None
PointerAlignment: Left
ReflowComments: false
SortIncludes: true
SortUsingDeclarations: true
---
Language: Cpp
---
Language: ObjC
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
BraceWrapping:
AfterCaseLabel: false
AfterObjCDeclaration: true
...