blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Kuiying Wang642f4372020-08-12 15:35:46 +08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
Patrick Williamsf19e2712023-05-10 07:51:20 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Kuiying Wang642f4372020-08-12 15:35:46 +080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsf19e2712023-05-10 07:51:20 -050014AllowShortBlocksOnASingleLine: Empty
Kuiying Wang642f4372020-08-12 15:35:46 +080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsf19e2712023-05-10 07:51:20 -050016AllowShortFunctionsOnASingleLine: Empty
Kuiying Wang642f4372020-08-12 15:35:46 +080017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
19AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
21AlwaysBreakTemplateDeclarations: Yes
22BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
25 AfterCaseLabel: true
26 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
34 AfterExternBlock: true
35 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
38 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamsf19e2712023-05-10 07:51:20 -050041BreakAfterAttributes: Never
Kuiying Wang642f4372020-08-12 15:35:46 +080042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
46BreakInheritanceList: AfterColon
George Liub9e362d2021-12-08 10:30:11 +080047BreakStringLiterals: false
Kuiying Wang642f4372020-08-12 15:35:46 +080048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
50CompactNamespaces: false
51ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
George Liub9e362d2021-12-08 10:30:11 +080055DeriveLineEnding: false
Kuiying Wang642f4372020-08-12 15:35:46 +080056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
65 Priority: 7
66 - Regex: '^"config.h"'
67 Priority: -1
68 - Regex: '^".*\.h"'
69 Priority: 1
70 - Regex: '^".*\.hpp"'
71 Priority: 2
72 - Regex: '^<.*\.h>'
73 Priority: 3
74 - Regex: '^<.*\.hpp>'
75 Priority: 4
76 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
80IndentCaseLabels: true
Patrick Williamsf19e2712023-05-10 07:51:20 -050081IndentRequiresClause: true
Kuiying Wang642f4372020-08-12 15:35:46 +080082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williamsf19e2712023-05-10 07:51:20 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Kuiying Wang642f4372020-08-12 15:35:46 +080088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsf19e2712023-05-10 07:51:20 -050095PenaltyBreakAssignment: 25
Kuiying Wang642f4372020-08-12 15:35:46 +080096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsf19e2712023-05-10 07:51:20 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Kuiying Wang642f4372020-08-12 15:35:46 +0800105ReflowComments: true
Patrick Williamsf19e2712023-05-10 07:51:20 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Kuiying Wang642f4372020-08-12 15:35:46 +0800108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
111SpaceAfterTemplateKeyword: true
112SpaceBeforeAssignmentOperators: true
113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
116SpaceBeforeParens: ControlStatements
117SpaceBeforeRangeBasedForLoopColon: true
118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
125Standard: Latest
126TabWidth: 4
Kuiying Wang642f4372020-08-12 15:35:46 +0800127UseTab: Never
128...
129