blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Ben Tyner6c1c3a12020-01-09 09:17:50 -06001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
Patrick Williams27dd6362023-05-10 07:51:20 -05006AlignConsecutiveAssignments: false
Zane Shelley9b41feb2022-07-13 10:24:16 -05007AlignConsecutiveDeclarations: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -06008AlignEscapedNewlines: Right
Patrick Williams27dd6362023-05-10 07:51:20 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Ben Tyner6c1c3a12020-01-09 09:17:50 -060013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams27dd6362023-05-10 07:51:20 -050014AllowShortBlocksOnASingleLine: Empty
Ben Tyner6c1c3a12020-01-09 09:17:50 -060015AllowShortCaseLabelsOnASingleLine: false
16AllowShortFunctionsOnASingleLine: Empty
Patrick Williams7435fc02023-10-20 11:19:50 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060019AllowShortLoopsOnASingleLine: false
20AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
22AlwaysBreakTemplateDeclarations: Yes
23BinPackArguments: true
24BinPackParameters: true
Patrick Williams7435fc02023-10-20 11:19:50 -050025BitFieldColonSpacing: None
Ben Tyner6c1c3a12020-01-09 09:17:50 -060026BraceWrapping:
Zane Shelleycac5dc62020-06-03 17:09:22 -050027 AfterCaseLabel: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060028 AfterClass: true
Zane Shelley9b41feb2022-07-13 10:24:16 -050029 AfterControlStatement: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060030 AfterEnum: true
Patrick Williams7435fc02023-10-20 11:19:50 -050031 AfterExternBlock: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060037 BeforeCatch: true
38 BeforeElse: true
Patrick Williams7435fc02023-10-20 11:19:50 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060041 IndentBraces: false
42 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams27dd6362023-05-10 07:51:20 -050045BreakAfterAttributes: Never
Ben Tyner6c1c3a12020-01-09 09:17:50 -060046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
50BreakInheritanceList: AfterColon
Patrick Williams27dd6362023-05-10 07:51:20 -050051BreakStringLiterals: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
54CompactNamespaces: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060059DisableFormat: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060060FixNamespaceComments: true
Patrick Williams7435fc02023-10-20 11:19:50 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Ben Tyner6c1c3a12020-01-09 09:17:50 -060065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
68 Priority: 7
69 - Regex: '^"config.h"'
70 Priority: -1
71 - Regex: '^".*\.h"'
72 Priority: 1
73 - Regex: '^".*\.hpp"'
74 Priority: 2
75 - Regex: '^<.*\.h>'
76 Priority: 3
77 - Regex: '^<.*\.hpp>'
78 Priority: 4
79 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
83IndentCaseLabels: true
Patrick Williams7435fc02023-10-20 11:19:50 -050084IndentExternBlock: NoIndent
Patrick Williams27dd6362023-05-10 07:51:20 -050085IndentRequiresClause: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams27dd6362023-05-10 07:51:20 -050088InsertNewlineAtEOF: true
Zane Shelleyb82cbf72022-06-27 10:28:06 -050089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams27dd6362023-05-10 07:51:20 -050090LambdaBodyIndentation: OuterScope
91LineEnding: LF
Ben Tyner6c1c3a12020-01-09 09:17:50 -060092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams7435fc02023-10-20 11:19:50 -050099PackConstructorInitializers: BinPack
Patrick Williams27dd6362023-05-10 07:51:20 -0500100PenaltyBreakAssignment: 25
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams27dd6362023-05-10 07:51:20 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams7435fc02023-10-20 11:19:50 -0500108PointerAlignment: Left
Patrick Williams27dd6362023-05-10 07:51:20 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600111ReflowComments: true
Patrick Williams27dd6362023-05-10 07:51:20 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams7435fc02023-10-20 11:19:50 -0500114SortIncludes: CaseSensitive
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
117SpaceAfterTemplateKeyword: true
118SpaceBeforeAssignmentOperators: true
119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
122SpaceBeforeParens: ControlStatements
123SpaceBeforeRangeBasedForLoopColon: true
124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams7435fc02023-10-20 11:19:50 -0500126SpacesInAngles: Never
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Zane Shelleycac5dc62020-06-03 17:09:22 -0500131Standard: Latest
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600132TabWidth: 4
133UseTab: Never
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600134...
135