blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Kuiying Wang3a044402019-02-19 15:00:11 +08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Jonathan Domaneddf9602022-11-23 09:29:41 -08008AlignEscapedNewlines: Right
9AlignOperands: Align
Patrick Williamse7e197b2023-05-10 07:50:39 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Kuiying Wang3a044402019-02-19 15:00:11 +080013AllowAllParametersOfDeclarationOnNextLine: true
Jonathan Domaneddf9602022-11-23 09:29:41 -080014AllowShortBlocksOnASingleLine: Empty
Kuiying Wang3a044402019-02-19 15:00:11 +080015AllowShortCaseLabelsOnASingleLine: false
Jonathan Domaneddf9602022-11-23 09:29:41 -080016AllowShortFunctionsOnASingleLine: Empty
Kuiying Wang3a044402019-02-19 15:00:11 +080017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Kuiying Wang3a044402019-02-19 15:00:11 +080019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Jonathan Domaneddf9602022-11-23 09:29:41 -080021AlwaysBreakTemplateDeclarations: Yes
Kuiying Wang3a044402019-02-19 15:00:11 +080022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Jonathan Domaneddf9602022-11-23 09:29:41 -080025 AfterCaseLabel: true
Kuiying Wang3a044402019-02-19 15:00:11 +080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Jonathan Domaneddf9602022-11-23 09:29:41 -080034 AfterExternBlock: true
Kuiying Wang3a044402019-02-19 15:00:11 +080035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Jonathan Domaneddf9602022-11-23 09:29:41 -080038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamse7e197b2023-05-10 07:50:39 -050041BreakAfterAttributes: Never
Kuiying Wang3a044402019-02-19 15:00:11 +080042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Jonathan Domaneddf9602022-11-23 09:29:41 -080046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Kuiying Wang3a044402019-02-19 15:00:11 +080048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Jonathan Domaneddf9602022-11-23 09:29:41 -080050CompactNamespaces: false
Kuiying Wang3a044402019-02-19 15:00:11 +080051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Jonathan Domaneddf9602022-11-23 09:29:41 -080055DeriveLineEnding: false
56DerivePointerAlignment: false
Kuiying Wang3a044402019-02-19 15:00:11 +080057PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Jonathan Domaneddf9602022-11-23 09:29:41 -080065 Priority: 7
Kuiying Wang3a044402019-02-19 15:00:11 +080066 - Regex: '^"config.h"'
67 Priority: -1
Jonathan Domaneddf9602022-11-23 09:29:41 -080068 - Regex: '^".*\.h"'
Kuiying Wang3a044402019-02-19 15:00:11 +080069 Priority: 1
Jonathan Domaneddf9602022-11-23 09:29:41 -080070 - Regex: '^".*\.hpp"'
Kuiying Wang3a044402019-02-19 15:00:11 +080071 Priority: 2
Jonathan Domaneddf9602022-11-23 09:29:41 -080072 - Regex: '^<.*\.h>'
Kuiying Wang3a044402019-02-19 15:00:11 +080073 Priority: 3
Jonathan Domaneddf9602022-11-23 09:29:41 -080074 - Regex: '^<.*\.hpp>'
Kuiying Wang3a044402019-02-19 15:00:11 +080075 Priority: 4
Jonathan Domaneddf9602022-11-23 09:29:41 -080076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Kuiying Wang3a044402019-02-19 15:00:11 +080080IndentCaseLabels: true
Jonathan Domaneddf9602022-11-23 09:29:41 -080081IndentRequiresClause: true
Kuiying Wang3a044402019-02-19 15:00:11 +080082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williamse7e197b2023-05-10 07:50:39 -050084InsertNewlineAtEOF: true
Jonathan Domaneddf9602022-11-23 09:29:41 -080085KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamse7e197b2023-05-10 07:50:39 -050086LambdaBodyIndentation: OuterScope
87LineEnding: LF
Kuiying Wang3a044402019-02-19 15:00:11 +080088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Jonathan Domaneddf9602022-11-23 09:29:41 -080095PenaltyBreakAssignment: 25
Kuiying Wang3a044402019-02-19 15:00:11 +080096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Jonathan Domaneddf9602022-11-23 09:29:41 -0800102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Kuiying Wang3a044402019-02-19 15:00:11 +0800105ReflowComments: true
Jonathan Domaneddf9602022-11-23 09:29:41 -0800106RequiresClausePosition: OwnLine
Patrick Williamse7e197b2023-05-10 07:50:39 -0500107RequiresExpressionIndentation: Keyword
Kuiying Wang3a044402019-02-19 15:00:11 +0800108SortIncludes: true
Jonathan Domaneddf9602022-11-23 09:29:41 -0800109SortUsingDeclarations: true
Kuiying Wang3a044402019-02-19 15:00:11 +0800110SpaceAfterCStyleCast: false
Jonathan Domaneddf9602022-11-23 09:29:41 -0800111SpaceAfterTemplateKeyword: true
Kuiying Wang3a044402019-02-19 15:00:11 +0800112SpaceBeforeAssignmentOperators: true
Jonathan Domaneddf9602022-11-23 09:29:41 -0800113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Kuiying Wang3a044402019-02-19 15:00:11 +0800116SpaceBeforeParens: ControlStatements
Jonathan Domaneddf9602022-11-23 09:29:41 -0800117SpaceBeforeRangeBasedForLoopColon: true
Kuiying Wang3a044402019-02-19 15:00:11 +0800118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Jonathan Domaneddf9602022-11-23 09:29:41 -0800125Standard: Latest
Kuiying Wang3a044402019-02-19 15:00:11 +0800126TabWidth: 4
127UseTab: Never
128...
Jonathan Domaneddf9602022-11-23 09:29:41 -0800129