blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Ed Tanous167e2372018-05-07 11:59:10 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brad Bishop23520882022-05-26 21:39:53 -04008AlignEscapedNewlines: Right
Brad Bishopa99e1092023-02-03 14:33:08 -05009AlignOperands: Align
Patrick Williams1a19e6a2023-05-10 07:51:32 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Ed Tanous167e2372018-05-07 11:59:10 -070013AllowAllParametersOfDeclarationOnNextLine: true
Brad Bishopa99e1092023-02-03 14:33:08 -050014AllowShortBlocksOnASingleLine: Empty
Ed Tanous167e2372018-05-07 11:59:10 -070015AllowShortCaseLabelsOnASingleLine: false
Brad Bishopa99e1092023-02-03 14:33:08 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams47b68cb2023-10-20 11:20:07 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Ed Tanous167e2372018-05-07 11:59:10 -070019AllowShortLoopsOnASingleLine: false
Ed Tanous167e2372018-05-07 11:59:10 -070020AlwaysBreakBeforeMultilineStrings: false
Ed Tanous167e2372018-05-07 11:59:10 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williams47b68cb2023-10-20 11:20:07 -050023BitFieldColonSpacing: None
Ed Tanous167e2372018-05-07 11:59:10 -070024BraceWrapping:
Brad Bishop23520882022-05-26 21:39:53 -040025 AfterCaseLabel: true
Ed Tanous167e2372018-05-07 11:59:10 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams47b68cb2023-10-20 11:20:07 -050029 AfterExternBlock: true
Ed Tanous167e2372018-05-07 11:59:10 -070030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams47b68cb2023-10-20 11:20:07 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Ed Tanous167e2372018-05-07 11:59:10 -070039 IndentBraces: false
Brad Bishop23520882022-05-26 21:39:53 -040040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams1a19e6a2023-05-10 07:51:32 -050043BreakAfterAttributes: Never
Patrick Williamsd01fca32024-12-18 11:22:48 -050044BreakAfterReturnType: Automatic
Ed Tanous167e2372018-05-07 11:59:10 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Brad Bishop23520882022-05-26 21:39:53 -040049BreakInheritanceList: AfterColon
50BreakStringLiterals: false
Patrick Williamsd01fca32024-12-18 11:22:48 -050051BreakTemplateDeclarations: Yes
Ed Tanous167e2372018-05-07 11:59:10 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Brad Bishop23520882022-05-26 21:39:53 -040054CompactNamespaces: false
Ed Tanous167e2372018-05-07 11:59:10 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050058DerivePointerAlignment: false
Ed Tanous167e2372018-05-07 11:59:10 -070059DisableFormat: false
Ed Tanous167e2372018-05-07 11:59:10 -070060FixNamespaceComments: true
Patrick Williams47b68cb2023-10-20 11:20:07 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Brad Bishop23520882022-05-26 21:39:53 -040068 Priority: 7
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050069 - Regex: '^"config.h"'
70 Priority: -1
Brad Bishop23520882022-05-26 21:39:53 -040071 - Regex: '^".*\.h"'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050072 Priority: 1
Brad Bishop23520882022-05-26 21:39:53 -040073 - Regex: '^".*\.hpp"'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050074 Priority: 2
Brad Bishop23520882022-05-26 21:39:53 -040075 - Regex: '^<.*\.h>'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050076 Priority: 3
Brad Bishop23520882022-05-26 21:39:53 -040077 - Regex: '^<.*\.hpp>'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050078 Priority: 4
Brad Bishop23520882022-05-26 21:39:53 -040079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Ed Tanous167e2372018-05-07 11:59:10 -070083IndentCaseLabels: true
Patrick Williams47b68cb2023-10-20 11:20:07 -050084IndentExternBlock: NoIndent
Brad Bishopa99e1092023-02-03 14:33:08 -050085IndentRequiresClause: true
Ed Tanous167e2372018-05-07 11:59:10 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams1a19e6a2023-05-10 07:51:32 -050088InsertNewlineAtEOF: true
Brad Bishop23520882022-05-26 21:39:53 -040089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams9052ebd2024-08-16 15:22:16 -040090LambdaBodyIndentation: Signature
Patrick Williams1a19e6a2023-05-10 07:51:32 -050091LineEnding: LF
Ed Tanous167e2372018-05-07 11:59:10 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams47b68cb2023-10-20 11:20:07 -050099PackConstructorInitializers: BinPack
Brad Bishopa99e1092023-02-03 14:33:08 -0500100PenaltyBreakAssignment: 25
Patrick Williams9052ebd2024-08-16 15:22:16 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Ed Tanous167e2372018-05-07 11:59:10 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams9052ebd2024-08-16 15:22:16 -0400105PenaltyBreakTemplateDeclaration: 10
Ed Tanous167e2372018-05-07 11:59:10 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams9052ebd2024-08-16 15:22:16 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams47b68cb2023-10-20 11:20:07 -0500109PointerAlignment: Left
Brad Bishopa99e1092023-02-03 14:33:08 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Ed Tanous167e2372018-05-07 11:59:10 -0700112ReflowComments: true
Brad Bishopa99e1092023-02-03 14:33:08 -0500113RequiresClausePosition: OwnLine
Patrick Williams1a19e6a2023-05-10 07:51:32 -0500114RequiresExpressionIndentation: Keyword
Patrick Williams47b68cb2023-10-20 11:20:07 -0500115SortIncludes: CaseSensitive
Matt Spinlercc6ee9c2018-09-19 13:23:13 -0500116SortUsingDeclarations: true
Ed Tanous167e2372018-05-07 11:59:10 -0700117SpaceAfterCStyleCast: false
Brad Bishop23520882022-05-26 21:39:53 -0400118SpaceAfterTemplateKeyword: true
Ed Tanous167e2372018-05-07 11:59:10 -0700119SpaceBeforeAssignmentOperators: true
Brad Bishop23520882022-05-26 21:39:53 -0400120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Ed Tanous167e2372018-05-07 11:59:10 -0700123SpaceBeforeParens: ControlStatements
Brad Bishop23520882022-05-26 21:39:53 -0400124SpaceBeforeRangeBasedForLoopColon: true
Ed Tanous167e2372018-05-07 11:59:10 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams47b68cb2023-10-20 11:20:07 -0500127SpacesInAngles: Never
Ed Tanous167e2372018-05-07 11:59:10 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Brad Bishop23520882022-05-26 21:39:53 -0400132Standard: Latest
Ed Tanous167e2372018-05-07 11:59:10 -0700133TabWidth: 4
134UseTab: Never
135...
Brad Bishop23520882022-05-26 21:39:53 -0400136