1
+
2
+ # please use clang-format version 8 or later
3
+
4
+ Standard : Cpp11
5
+ AccessModifierOffset : -8
6
+ AlignAfterOpenBracket : Align
7
+ AlignConsecutiveAssignments : false
8
+ AlignConsecutiveDeclarations : false
9
+ AlignEscapedNewlines : Left
10
+ AlignOperands : true
11
+ AlignTrailingComments : true
12
+ # AllowAllArgumentsOnNextLine: false # requires clang-format 9
13
+ # AllowAllConstructorInitializersOnNextLine: false # requires clang-format 9
14
+ AllowAllParametersOfDeclarationOnNextLine : false
15
+ AllowShortBlocksOnASingleLine : false
16
+ AllowShortCaseLabelsOnASingleLine : false
17
+ AllowShortFunctionsOnASingleLine : Inline
18
+ AllowShortIfStatementsOnASingleLine : false
19
+ # AllowShortLambdasOnASingleLine: Inline # requires clang-format 9
20
+ AllowShortLoopsOnASingleLine : false
21
+ AlwaysBreakAfterDefinitionReturnType : None
22
+ AlwaysBreakAfterReturnType : None
23
+ AlwaysBreakBeforeMultilineStrings : false
24
+ AlwaysBreakTemplateDeclarations : false
25
+ BinPackArguments : true
26
+ BinPackParameters : true
27
+ BraceWrapping :
28
+ AfterClass : false
29
+ AfterControlStatement : false
30
+ AfterEnum : false
31
+ AfterFunction : true
32
+ AfterNamespace : false
33
+ AfterObjCDeclaration : false
34
+ AfterStruct : false
35
+ AfterUnion : false
36
+ AfterExternBlock : false
37
+ BeforeCatch : false
38
+ BeforeElse : false
39
+ IndentBraces : false
40
+ SplitEmptyFunction : true
41
+ SplitEmptyRecord : true
42
+ SplitEmptyNamespace : true
43
+ BreakBeforeBinaryOperators : None
44
+ BreakBeforeBraces : Custom
45
+ BreakBeforeTernaryOperators : true
46
+ BreakConstructorInitializers : BeforeColon
47
+ BreakStringLiterals : false # apparently unpredictable
48
+ ColumnLimit : 80
49
+ CompactNamespaces : false
50
+ ConstructorInitializerAllOnOneLineOrOnePerLine : true
51
+ ConstructorInitializerIndentWidth : 8
52
+ ContinuationIndentWidth : 8
53
+ Cpp11BracedListStyle : true
54
+ DerivePointerAlignment : false
55
+ DisableFormat : false
56
+ FixNamespaceComments : false
57
+ ForEachMacros :
58
+ - ' json_object_foreach'
59
+ - ' json_object_foreach_safe'
60
+ - ' json_array_foreach'
61
+ IncludeBlocks : Preserve
62
+ IndentCaseLabels : false
63
+ IndentPPDirectives : None
64
+ IndentWidth : 8
65
+ IndentWrappedFunctionNames : false
66
+ KeepEmptyLinesAtTheStartOfBlocks : true
67
+ MaxEmptyLinesToKeep : 1
68
+ NamespaceIndentation : None
69
+ # ObjCBinPackProtocolList: Auto # requires clang-format 7
70
+ ObjCBlockIndentWidth : 8
71
+ ObjCSpaceAfterProperty : true
72
+ ObjCSpaceBeforeProtocolList : true
73
+
74
+ PenaltyBreakAssignment : 10
75
+ PenaltyBreakBeforeFirstCallParameter : 30
76
+ PenaltyBreakComment : 10
77
+ PenaltyBreakFirstLessLess : 0
78
+ PenaltyBreakString : 10
79
+ PenaltyExcessCharacter : 100
80
+ PenaltyReturnTypeOnItsOwnLine : 60
81
+
82
+ PointerAlignment : Right
83
+ ReflowComments : false
84
+ SortIncludes : false
85
+ SortUsingDeclarations : false
86
+ SpaceAfterCStyleCast : false
87
+ # SpaceAfterLogicalNot: false # requires clang-format 9
88
+ SpaceAfterTemplateKeyword : false
89
+ SpaceBeforeAssignmentOperators : true
90
+ # SpaceBeforeCtorInitializerColon: true # requires clang-format 7
91
+ # SpaceBeforeInheritanceColon: true # requires clang-format 7
92
+ SpaceBeforeParens : ControlStatements
93
+ # SpaceBeforeRangeBasedForLoopColon: true # requires clang-format 7
94
+ SpaceInEmptyParentheses : false
95
+ SpacesBeforeTrailingComments : 1
96
+ SpacesInAngles : false
97
+ SpacesInCStyleCastParentheses : false
98
+ SpacesInContainerLiterals : false
99
+ SpacesInParentheses : false
100
+ SpacesInSquareBrackets : false
101
+ # StatementMacros: # requires clang-format 8
102
+ # - 'Q_OBJECT'
103
+ TabWidth : 8
104
+ # TypenameMacros: # requires clang-format 9
105
+ # - 'DARRAY'
106
+ UseTab : ForContinuationAndIndentation
107
+ ---
108
+ Language : ObjC
0 commit comments