blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Patrick Venturedace6802018-11-01 16:52:10 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams39084b42023-05-10 07:50:58 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venturedace6802018-11-01 16:52:10 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams39084b42023-05-10 07:50:58 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venturedace6802018-11-01 16:52:10 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams39084b42023-05-10 07:50:58 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsd3898c52023-10-20 11:19:20 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venturedace6802018-11-01 16:52:10 -070019AllowShortLoopsOnASingleLine: false
Patrick Venturedace6802018-11-01 16:52:10 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Williams39084b42023-05-10 07:50:58 -050022AlwaysBreakTemplateDeclarations: Yes
Patrick Venturedace6802018-11-01 16:52:10 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williamsd3898c52023-10-20 11:19:20 -050025BitFieldColonSpacing: None
Patrick Venturedace6802018-11-01 16:52:10 -070026BraceWrapping:
Patrick Williams39084b42023-05-10 07:50:58 -050027 AfterCaseLabel: true
Patrick Venturedace6802018-11-01 16:52:10 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamsd3898c52023-10-20 11:19:20 -050031 AfterExternBlock: true
Patrick Venturedace6802018-11-01 16:52:10 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamsd3898c52023-10-20 11:19:20 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Patrick Venturedace6802018-11-01 16:52:10 -070041 IndentBraces: false
Patrick Williams39084b42023-05-10 07:50:58 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
45BreakAfterAttributes: Never
Patrick Venturedace6802018-11-01 16:52:10 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Williams39084b42023-05-10 07:50:58 -050050BreakInheritanceList: AfterColon
51BreakStringLiterals: false
Patrick Venturedace6802018-11-01 16:52:10 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams39084b42023-05-10 07:50:58 -050054CompactNamespaces: false
Patrick Venturedace6802018-11-01 16:52:10 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venturedace6802018-11-01 16:52:10 -070059DisableFormat: false
Patrick Venturedace6802018-11-01 16:52:10 -070060FixNamespaceComments: true
Patrick Williamsd3898c52023-10-20 11:19:20 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venturedace6802018-11-01 16:52:10 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Williams39084b42023-05-10 07:50:58 -050068 Priority: 7
Patrick Venturedace6802018-11-01 16:52:10 -070069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Williams39084b42023-05-10 07:50:58 -050071 - Regex: '^".*\.h"'
Patrick Venturedace6802018-11-01 16:52:10 -070072 Priority: 1
Patrick Williams39084b42023-05-10 07:50:58 -050073 - Regex: '^".*\.hpp"'
Patrick Venturedace6802018-11-01 16:52:10 -070074 Priority: 2
Patrick Williams39084b42023-05-10 07:50:58 -050075 - Regex: '^<.*\.h>'
Patrick Venturedace6802018-11-01 16:52:10 -070076 Priority: 3
Patrick Williams39084b42023-05-10 07:50:58 -050077 - Regex: '^<.*\.hpp>'
Patrick Venturedace6802018-11-01 16:52:10 -070078 Priority: 4
Patrick Williams39084b42023-05-10 07:50:58 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venturedace6802018-11-01 16:52:10 -070083IndentCaseLabels: true
George Liu83990b02023-08-01 14:00:20 +080084IndentExternBlock: NoIndent
Patrick Williams39084b42023-05-10 07:50:58 -050085IndentRequiresClause: true
Patrick Venturedace6802018-11-01 16:52:10 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams39084b42023-05-10 07:50:58 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Patrick Venturedace6802018-11-01 16:52:10 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsd3898c52023-10-20 11:19:20 -050099PackConstructorInitializers: BinPack
Patrick Williams39084b42023-05-10 07:50:58 -0500100PenaltyBreakAssignment: 25
Patrick Venturedace6802018-11-01 16:52:10 -0700101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams39084b42023-05-10 07:50:58 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamsd3898c52023-10-20 11:19:20 -0500108PointerAlignment: Left
Patrick Williams39084b42023-05-10 07:50:58 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Patrick Venturedace6802018-11-01 16:52:10 -0700111ReflowComments: true
Patrick Williams39084b42023-05-10 07:50:58 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williamsd3898c52023-10-20 11:19:20 -0500114SortIncludes: CaseSensitive
Patrick Venturedace6802018-11-01 16:52:10 -0700115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
Patrick Williams39084b42023-05-10 07:50:58 -0500117SpaceAfterTemplateKeyword: true
Patrick Venturedace6802018-11-01 16:52:10 -0700118SpaceBeforeAssignmentOperators: true
Patrick Williams39084b42023-05-10 07:50:58 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Patrick Venturedace6802018-11-01 16:52:10 -0700122SpaceBeforeParens: ControlStatements
Patrick Williams39084b42023-05-10 07:50:58 -0500123SpaceBeforeRangeBasedForLoopColon: true
Patrick Venturedace6802018-11-01 16:52:10 -0700124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamsd3898c52023-10-20 11:19:20 -0500126SpacesInAngles: Never
Patrick Venturedace6802018-11-01 16:52:10 -0700127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williams39084b42023-05-10 07:50:58 -0500131Standard: Latest
Patrick Venturedace6802018-11-01 16:52:10 -0700132TabWidth: 4
133UseTab: Never
134...
Patrick Williamsd3898c52023-10-20 11:19:20 -0500135