blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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
Patrick Williamsf5402192024-08-16 15:20:53 -040090LambdaBodyIndentation: Signature
Patrick Williams48781ae2023-05-10 07:50:50 -050091LineEnding: 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
Patrick Williamsf5402192024-08-16 15:20:53 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsf5402192024-08-16 15:20:53 -0400105PenaltyBreakTemplateDeclaration: 10
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsf5402192024-08-16 15:20:53 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams319b0dd2023-10-20 11:19:11 -0500109PointerAlignment: Left
Patrick Williams48781ae2023-05-10 07:50:50 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500112ReflowComments: true
Patrick Williams48781ae2023-05-10 07:50:50 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams319b0dd2023-10-20 11:19:11 -0500115SortIncludes: CaseSensitive
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600118SpaceAfterTemplateKeyword: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500119SpaceBeforeAssignmentOperators: true
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500123SpaceBeforeParens: ControlStatements
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600124SpaceBeforeRangeBasedForLoopColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams319b0dd2023-10-20 11:19:11 -0500127SpacesInAngles: Never
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Brandon Wyman1b5de462020-06-05 17:19:43 -0500132Standard: Latest
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500133TabWidth: 4
134UseTab: Never
135...
Adriana Kobylak0c9a33d2021-09-13 18:05:09 +0000136