1
- BasedOnStyle : LLVM
2
- IndentWidth : 4
1
+ ---
2
+ Language : Cpp
3
3
AccessModifierOffset : -4
4
+ AlignAfterOpenBracket : Align
5
+ AlignConsecutiveMacros : false
6
+ AlignConsecutiveAssignments : false
7
+ AlignConsecutiveDeclarations : false
4
8
AlignEscapedNewlines : Right
9
+ AlignOperands : true
10
+ AlignTrailingComments : true
11
+ AllowAllArgumentsOnNextLine : true
12
+ AllowAllConstructorInitializersOnNextLine : true
5
13
AllowAllParametersOfDeclarationOnNextLine : false
14
+ AllowShortBlocksOnASingleLine : Never
15
+ AllowShortCaseLabelsOnASingleLine : false
16
+ AllowShortFunctionsOnASingleLine : All
17
+ AllowShortLambdasOnASingleLine : All
18
+ AllowShortIfStatementsOnASingleLine : Never
19
+ AllowShortLoopsOnASingleLine : false
20
+ AlwaysBreakAfterDefinitionReturnType : None
21
+ AlwaysBreakAfterReturnType : None
22
+ AlwaysBreakBeforeMultilineStrings : false
23
+ AlwaysBreakTemplateDeclarations : MultiLine
24
+ BinPackArguments : true
6
25
BinPackParameters : false
7
- BreakBeforeBraces : Custom
8
26
BraceWrapping :
9
27
AfterCaseLabel : true
10
28
AfterClass : true
@@ -22,3 +40,96 @@ BraceWrapping:
22
40
SplitEmptyFunction : true
23
41
SplitEmptyRecord : true
24
42
SplitEmptyNamespace : true
43
+ BreakBeforeBinaryOperators : None
44
+ BreakBeforeBraces : Custom
45
+ BreakBeforeInheritanceComma : false
46
+ BreakInheritanceList : BeforeColon
47
+ BreakBeforeTernaryOperators : true
48
+ BreakConstructorInitializersBeforeComma : false
49
+ BreakConstructorInitializers : BeforeColon
50
+ BreakAfterJavaFieldAnnotations : false
51
+ BreakStringLiterals : true
52
+ ColumnLimit : 80
53
+ CommentPragmas : ' ^ IWYU pragma:'
54
+ CompactNamespaces : false
55
+ ConstructorInitializerAllOnOneLineOrOnePerLine : false
56
+ ConstructorInitializerIndentWidth : 4
57
+ ContinuationIndentWidth : 4
58
+ Cpp11BracedListStyle : true
59
+ DeriveLineEnding : true
60
+ DerivePointerAlignment : false
61
+ DisableFormat : false
62
+ ExperimentalAutoDetectBinPacking : false
63
+ FixNamespaceComments : true
64
+ ForEachMacros :
65
+ - foreach
66
+ - Q_FOREACH
67
+ - BOOST_FOREACH
68
+ IncludeBlocks : Preserve
69
+ IncludeCategories :
70
+ - Regex : ' ^"(llvm|llvm-c|clang|clang-c)/'
71
+ Priority : 2
72
+ SortPriority : 0
73
+ - Regex : ' ^(<|"(gtest|gmock|isl|json)/)'
74
+ Priority : 3
75
+ SortPriority : 0
76
+ - Regex : ' .*'
77
+ Priority : 1
78
+ SortPriority : 0
79
+ IncludeIsMainRegex : ' (Test)?$'
80
+ IncludeIsMainSourceRegex : ' '
81
+ IndentCaseLabels : false
82
+ IndentGotoLabels : true
83
+ IndentPPDirectives : None
84
+ IndentWidth : 4
85
+ IndentWrappedFunctionNames : false
86
+ JavaScriptQuotes : Leave
87
+ JavaScriptWrapImports : true
88
+ KeepEmptyLinesAtTheStartOfBlocks : true
89
+ MacroBlockBegin : ' '
90
+ MacroBlockEnd : ' '
91
+ MaxEmptyLinesToKeep : 1
92
+ NamespaceIndentation : None
93
+ ObjCBinPackProtocolList : Auto
94
+ ObjCBlockIndentWidth : 2
95
+ ObjCSpaceAfterProperty : false
96
+ ObjCSpaceBeforeProtocolList : true
97
+ PenaltyBreakAssignment : 2
98
+ PenaltyBreakBeforeFirstCallParameter : 19
99
+ PenaltyBreakComment : 300
100
+ PenaltyBreakFirstLessLess : 120
101
+ PenaltyBreakString : 1000
102
+ PenaltyBreakTemplateDeclaration : 10
103
+ PenaltyExcessCharacter : 1000000
104
+ PenaltyReturnTypeOnItsOwnLine : 60
105
+ PointerAlignment : Right
106
+ ReflowComments : true
107
+ SortIncludes : true
108
+ SortUsingDeclarations : true
109
+ SpaceAfterCStyleCast : false
110
+ SpaceAfterLogicalNot : false
111
+ SpaceAfterTemplateKeyword : true
112
+ SpaceBeforeAssignmentOperators : true
113
+ SpaceBeforeCpp11BracedList : false
114
+ SpaceBeforeCtorInitializerColon : true
115
+ SpaceBeforeInheritanceColon : true
116
+ SpaceBeforeParens : ControlStatements
117
+ SpaceBeforeRangeBasedForLoopColon : true
118
+ SpaceInEmptyBlock : false
119
+ SpaceInEmptyParentheses : false
120
+ SpacesBeforeTrailingComments : 1
121
+ SpacesInAngles : false
122
+ SpacesInConditionalStatement : false
123
+ SpacesInContainerLiterals : true
124
+ SpacesInCStyleCastParentheses : false
125
+ SpacesInParentheses : false
126
+ SpacesInSquareBrackets : false
127
+ SpaceBeforeSquareBrackets : false
128
+ Standard : Latest
129
+ StatementMacros :
130
+ - Q_UNUSED
131
+ - QT_REQUIRE_VERSION
132
+ TabWidth : 8
133
+ UseCRLF : false
134
+ UseTab : Never
135
+ ...
0 commit comments