blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Matt Spinlerf0f02b92018-10-25 16:12:43 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -06008AlignEscapedNewlines: Right
Patrick Williams48781ae2023-05-10 07:50:50 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Matt Spinlerf0f02b92018-10-25 16:12:43 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams48781ae2023-05-10 07:50:50 -050014AllowShortBlocksOnASingleLine: Empty
Matt Spinlerf0f02b92018-10-25 16:12:43 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams48781ae2023-05-10 07:50:50 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams319b0dd2023-10-20 11:19:11 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050019AllowShortLoopsOnASingleLine: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060022AlwaysBreakTemplateDeclarations: Yes
Matt Spinlerf0f02b92018-10-25 16:12:43 -050023BinPackArguments: true
24BinPackParameters: true
Patrick Williams319b0dd2023-10-20 11:19:11 -050025BitFieldColonSpacing: None
Matt Spinlerf0f02b92018-10-25 16:12:43 -050026BraceWrapping:
Shawn McCarney06a905d2020-05-26 12:59:15 -050027 AfterCaseLabel: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams319b0dd2023-10-20 11:19:11 -050031 AfterExternBlock: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams319b0dd2023-10-20 11:19:11 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050041 IndentBraces: false
Adriana Kobylak0c9a33d2021-09-13 18:05:09 +000042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams48781ae2023-05-10 07:50:50 -050045BreakAfterAttributes: Never
Matt Spinlerf0f02b92018-10-25 16:12:43 -050046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060050BreakInheritanceList: AfterColon
Adriana Kobylak0c9a33d2021-09-13 18:05:09 +000051BreakStringLiterals: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060054CompactNamespaces: 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 Williams319b0dd2023-10-20 11:19:11 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Matt Spinlerf0f02b92018-10-25 16:12:43 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060068 Priority: 7
Matt Spinlerf0f02b92018-10-25 16:12:43 -050069 - Regex: '^"config.h"'
70 Priority: -1
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060071 - Regex: '^".*\.h"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050072 Priority: 1
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060073 - Regex: '^".*\.hpp"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050074 Priority: 2
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060075 - Regex: '^<.*\.h>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050076 Priority: 3
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060077 - Regex: '^<.*\.hpp>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050078 Priority: 4
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Matt Spinlerf0f02b92018-10-25 16:12:43 -050083IndentCaseLabels: true
Patrick Williams319b0dd2023-10-20 11:19:11 -050084IndentExternBlock: NoIndent
Patrick Williams48781ae2023-05-10 07:50:50 -050085IndentRequiresClause: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams48781ae2023-05-10 07:50:50 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Matt Spinlerf0f02b92018-10-25 16:12:43 -050092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams319b0dd2023-10-20 11:19:11 -050099PackConstructorInitializers: BinPack
Patrick Williams48781ae2023-05-10 07:50:50 -0500100PenaltyBreakAssignment: 25
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams48781ae2023-05-10 07:50:50 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams319b0dd2023-10-20 11:19:11 -0500108PointerAlignment: Left
Patrick Williams48781ae2023-05-10 07:50:50 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500111ReflowComments: true
Patrick Williams48781ae2023-05-10 07:50:50 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams319b0dd2023-10-20 11:19:11 -0500114SortIncludes: CaseSensitive
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600117SpaceAfterTemplateKeyword: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500118SpaceBeforeAssignmentOperators: true
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500122SpaceBeforeParens: ControlStatements
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600123SpaceBeforeRangeBasedForLoopColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams319b0dd2023-10-20 11:19:11 -0500126SpacesInAngles: Never
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Brandon Wyman1b5de462020-06-05 17:19:43 -0500131Standard: Latest
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500132TabWidth: 4
133UseTab: Never
134...
Adriana Kobylak0c9a33d2021-09-13 18:05:09 +0000135