blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Matt Spinlerf0f02b92018-10-25 16:12:43 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams2c4fbc42020-06-26 15:33:11 -05008AlignEscapedNewlines: Right
Patrick Williamsb7ed5772023-05-10 07:50:45 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Matt Spinlerf0f02b92018-10-25 16:12:43 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsb7ed5772023-05-10 07:50:45 -050014AllowShortBlocksOnASingleLine: Empty
Matt Spinlerf0f02b92018-10-25 16:12:43 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsb7ed5772023-05-10 07:50:45 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsdadc8172023-10-20 11:19:04 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050019AllowShortLoopsOnASingleLine: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050020AlwaysBreakBeforeMultilineStrings: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050021BinPackArguments: true
22BinPackParameters: true
Patrick Williamsdadc8172023-10-20 11:19:04 -050023BitFieldColonSpacing: None
Matt Spinlerf0f02b92018-10-25 16:12:43 -050024BraceWrapping:
Patrick Williams2c4fbc42020-06-26 15:33:11 -050025 AfterCaseLabel: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamsdadc8172023-10-20 11:19:04 -050029 AfterExternBlock: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamsdadc8172023-10-20 11:19:04 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050039 IndentBraces: false
Patrick Williams2c4fbc42020-06-26 15:33:11 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsb7ed5772023-05-10 07:50:45 -050043BreakAfterAttributes: Never
Patrick Williams7f7c7a72024-12-18 11:21:16 -050044BreakAfterReturnType: Automatic
Matt Spinlerf0f02b92018-10-25 16:12:43 -050045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Patrick Williams2c4fbc42020-06-26 15:33:11 -050049BreakInheritanceList: AfterColon
Patrick Williamsb7ed5772023-05-10 07:50:45 -050050BreakStringLiterals: false
Patrick Williams7f7c7a72024-12-18 11:21:16 -050051BreakTemplateDeclarations: Yes
Matt Spinlerf0f02b92018-10-25 16:12:43 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams2c4fbc42020-06-26 15:33:11 -050054CompactNamespaces: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050059DisableFormat: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050060FixNamespaceComments: true
Patrick Williamsdadc8172023-10-20 11:19:04 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Matt Spinlerf0f02b92018-10-25 16:12:43 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Williams2c4fbc42020-06-26 15:33:11 -050068 Priority: 7
Matt Spinlerf0f02b92018-10-25 16:12:43 -050069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Williams2c4fbc42020-06-26 15:33:11 -050071 - Regex: '^".*\.h"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050072 Priority: 1
Patrick Williams2c4fbc42020-06-26 15:33:11 -050073 - Regex: '^".*\.hpp"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050074 Priority: 2
Patrick Williams2c4fbc42020-06-26 15:33:11 -050075 - Regex: '^<.*\.h>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050076 Priority: 3
Patrick Williams2c4fbc42020-06-26 15:33:11 -050077 - Regex: '^<.*\.hpp>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050078 Priority: 4
Patrick Williams2c4fbc42020-06-26 15:33:11 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Matt Spinlerf0f02b92018-10-25 16:12:43 -050083IndentCaseLabels: true
Patrick Williamsdadc8172023-10-20 11:19:04 -050084IndentExternBlock: NoIndent
Patrick Williamsb7ed5772023-05-10 07:50:45 -050085IndentRequiresClause: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsb7ed5772023-05-10 07:50:45 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsbefec582024-08-16 15:20:44 -040090LambdaBodyIndentation: Signature
Patrick Williamsb7ed5772023-05-10 07:50:45 -050091LineEnding: LF
Matt Spinlerf0f02b92018-10-25 16:12:43 -050092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsdadc8172023-10-20 11:19:04 -050099PackConstructorInitializers: BinPack
Patrick Williamsb7ed5772023-05-10 07:50:45 -0500100PenaltyBreakAssignment: 25
Patrick Williamsbefec582024-08-16 15:20:44 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsbefec582024-08-16 15:20:44 -0400105PenaltyBreakTemplateDeclaration: 10
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsbefec582024-08-16 15:20:44 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsdadc8172023-10-20 11:19:04 -0500109PointerAlignment: Left
Patrick Williamsb7ed5772023-05-10 07:50:45 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500112ReflowComments: true
Patrick Williamsb7ed5772023-05-10 07:50:45 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsdadc8172023-10-20 11:19:04 -0500115SortIncludes: CaseSensitive
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Patrick Williams2c4fbc42020-06-26 15:33:11 -0500118SpaceAfterTemplateKeyword: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500119SpaceBeforeAssignmentOperators: true
Patrick Williams2c4fbc42020-06-26 15:33:11 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500123SpaceBeforeParens: ControlStatements
Patrick Williams2c4fbc42020-06-26 15:33:11 -0500124SpaceBeforeRangeBasedForLoopColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsdadc8172023-10-20 11:19:04 -0500127SpacesInAngles: Never
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams2c4fbc42020-06-26 15:33:11 -0500132Standard: Latest
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500133TabWidth: 4
134UseTab: Never
135...
136