forked from easysoft/phpmicro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
52 lines (42 loc) · 1.18 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
50
51
52
# clang-format config for clang-format 13
Language: Cpp
BasedOnStyle: LLVM
UseTab: Never
IndentWidth: 4
TabWidth: 4
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterStruct: false
AfterFunction: false
BeforeElse: false
AfterExternBlock: false
SplitEmptyFunction: false
AfterControlStatement: Never
SplitEmptyRecord: false
IndentPPDirectives: AfterHash
IndentCaseLabels: true
IndentGotoLabels: true
IndentWrappedFunctionNames: true
BinPackArguments: false
InsertTrailingCommas: Wrapped
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
AllowShortBlocksOnASingleLine: Empty
ColumnLimit: 120
SortIncludes: true
AlignTrailingComments: true
AlignConsecutiveMacros: Consecutive
AlignEscapedNewlines: DontAlign
AlignAfterOpenBracket: DontAlign
AlignOperands: DontAlign
MacroBlockBegin: "ZEND_.+_START|ZEND_HASH_REVERSE_FOREACH_PTR|HASH_REVERSE_FOREACH_PTR|ZEND_BEGIN_ARG_INFO$"
MacroBlockEnd: "ZEND_.+_END|ZEND_HASH_FOREACH_END_DEL|ZEND_END_ARG_INFO$"
TypenameMacros:
- 'PHP_FE'
WhitespaceSensitiveMacros:
- 'STRINGIZE'
- 'STRINGIZE2'
IncludeBlocks: Preserve