blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Zane Shelleydd156ad2019-10-25 20:59:55 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
Patrick Williams2f7537d2023-05-10 07:51:39 -05006AlignConsecutiveAssignments: false
Zane Shelleyd478c8c2022-07-13 10:27:35 -05007AlignConsecutiveDeclarations: false
Zane Shelleydd156ad2019-10-25 20:59:55 -05008AlignEscapedNewlines: Right
Patrick Williams2f7537d2023-05-10 07:51:39 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Zane Shelleydd156ad2019-10-25 20:59:55 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2f7537d2023-05-10 07:51:39 -050014AllowShortBlocksOnASingleLine: Empty
Zane Shelleydd156ad2019-10-25 20:59:55 -050015AllowShortCaseLabelsOnASingleLine: false
16AllowShortFunctionsOnASingleLine: Empty
Patrick Williams97224ed2023-10-20 11:20:23 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050019AllowShortLoopsOnASingleLine: false
20AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
22AlwaysBreakTemplateDeclarations: Yes
23BinPackArguments: true
24BinPackParameters: true
Patrick Williams97224ed2023-10-20 11:20:23 -050025BitFieldColonSpacing: None
Zane Shelleydd156ad2019-10-25 20:59:55 -050026BraceWrapping:
Zane Shelley55afd632020-06-03 17:06:30 -050027 AfterCaseLabel: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050028 AfterClass: true
Zane Shelleyd478c8c2022-07-13 10:27:35 -050029 AfterControlStatement: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050030 AfterEnum: true
Patrick Williams97224ed2023-10-20 11:20:23 -050031 AfterExternBlock: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050037 BeforeCatch: true
38 BeforeElse: true
Patrick Williams97224ed2023-10-20 11:20:23 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050041 IndentBraces: false
42 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams2f7537d2023-05-10 07:51:39 -050045BreakAfterAttributes: Never
Zane Shelleydd156ad2019-10-25 20:59:55 -050046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
50BreakInheritanceList: AfterColon
Patrick Williams2f7537d2023-05-10 07:51:39 -050051BreakStringLiterals: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
54CompactNamespaces: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050059DisableFormat: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050060FixNamespaceComments: true
Patrick Williams97224ed2023-10-20 11:20:23 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Zane Shelleydd156ad2019-10-25 20:59:55 -050065IncludeBlocks: 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 Williams97224ed2023-10-20 11:20:23 -050084IndentExternBlock: NoIndent
Patrick Williams2f7537d2023-05-10 07:51:39 -050085IndentRequiresClause: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams2f7537d2023-05-10 07:51:39 -050088InsertNewlineAtEOF: true
Zane Shelley5d02cc22022-06-27 10:37:36 -050089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams2f7537d2023-05-10 07:51:39 -050090LambdaBodyIndentation: OuterScope
91LineEnding: LF
Zane Shelleydd156ad2019-10-25 20:59:55 -050092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams97224ed2023-10-20 11:20:23 -050099PackConstructorInitializers: BinPack
Patrick Williams2f7537d2023-05-10 07:51:39 -0500100PenaltyBreakAssignment: 25
Zane Shelleydd156ad2019-10-25 20:59:55 -0500101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams2f7537d2023-05-10 07:51:39 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams97224ed2023-10-20 11:20:23 -0500108PointerAlignment: Left
Patrick Williams2f7537d2023-05-10 07:51:39 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Zane Shelleydd156ad2019-10-25 20:59:55 -0500111ReflowComments: true
Patrick Williams2f7537d2023-05-10 07:51:39 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams97224ed2023-10-20 11:20:23 -0500114SortIncludes: CaseSensitive
Zane Shelleydd156ad2019-10-25 20:59:55 -0500115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
117SpaceAfterTemplateKeyword: true
118SpaceBeforeAssignmentOperators: true
119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
122SpaceBeforeParens: ControlStatements
123SpaceBeforeRangeBasedForLoopColon: true
124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams97224ed2023-10-20 11:20:23 -0500126SpacesInAngles: Never
Zane Shelleydd156ad2019-10-25 20:59:55 -0500127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Zane Shelley55afd632020-06-03 17:06:30 -0500131Standard: Latest
Zane Shelleydd156ad2019-10-25 20:59:55 -0500132TabWidth: 4
133UseTab: Never
Zane Shelleydd156ad2019-10-25 20:59:55 -0500134...
135