blob: 481df3a8c2ccdaced625cc8176455b7211d0c94c (
plain) (
blame)
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
|
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 4
TabWidth: 4
UseTab: Never
ContinuationIndentWidth: 4
IndentCaseLabels: true
IndentPPDirectives: None
# keep existing line breaks, don't rewrap
ColumnLimit: 0
MaxEmptyLinesToKeep: 2
KeepEmptyLinesAtTheStartOfBlocks: false
# function braces on their own line, everything else attached
BreakBeforeBraces: Linux
AlwaysBreakAfterReturnType: None
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: false
PointerAlignment: Right
DerivePointerAlignment: false
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveMacros: None
AlignConsecutiveDeclarations: Consecutive
AlignTrailingComments: true
AlignEscapedNewlines: Left
ReflowComments: false
SortIncludes: Never
IncludeBlocks: Preserve
# loop macros keep their brace on the same line
ForEachMacros: [FOR_STR8_ARB_FN, FOR_STR8_CHOP, FOR_STR8_CHOP_LEFT, FOR_STR8_CHOP_RIGHT, FOR_STR8_MATCH, FOR_STR8_NODE]
|