blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Andrew Geissler072da3e2018-01-18 07:21:42 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams127b8ab2020-05-21 15:24:19 -05008AlignEscapedNewlines: Right
Patrick Williams41f42f62022-09-30 06:49:50 -05009AlignOperands: Align
Patrick Williamsd2149042023-05-10 07:50:13 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Andrew Geissler072da3e2018-01-18 07:21:42 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsf289c652022-08-26 10:43:10 -050014AllowShortBlocksOnASingleLine: Empty
Andrew Geissler072da3e2018-01-18 07:21:42 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsf289c652022-08-26 10:43:10 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams6db88382023-10-20 11:18:17 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080019AllowShortLoopsOnASingleLine: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050022AlwaysBreakTemplateDeclarations: Yes
Andrew Geissler072da3e2018-01-18 07:21:42 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williams6db88382023-10-20 11:18:17 -050025BitFieldColonSpacing: None
Andrew Geissler072da3e2018-01-18 07:21:42 -080026BraceWrapping:
Patrick Williams01ac5ca2020-05-21 15:06:30 -050027 AfterCaseLabel: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams6db88382023-10-20 11:18:17 -050031 AfterExternBlock: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams6db88382023-10-20 11:18:17 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080041 IndentBraces: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsd2149042023-05-10 07:50:13 -050045BreakAfterAttributes: Never
Andrew Geissler072da3e2018-01-18 07:21:42 -080046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Williams127b8ab2020-05-21 15:24:19 -050050BreakInheritanceList: AfterColon
Patrick Williamsf289c652022-08-26 10:43:10 -050051BreakStringLiterals: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams127b8ab2020-05-21 15:24:19 -050054CompactNamespaces: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
William A. Kennington IIIe0d69652018-08-31 13:09:47 -070058DerivePointerAlignment: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080059DisableFormat: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080060FixNamespaceComments: true
Patrick Williams6db88382023-10-20 11:18:17 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture95269db2018-08-31 09:19:17 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Williams127b8ab2020-05-21 15:24:19 -050068 Priority: 7
Patrick Venture95269db2018-08-31 09:19:17 -070069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Williams127b8ab2020-05-21 15:24:19 -050071 - Regex: '^".*\.h"'
Patrick Venture95269db2018-08-31 09:19:17 -070072 Priority: 1
Patrick Williams127b8ab2020-05-21 15:24:19 -050073 - Regex: '^".*\.hpp"'
Patrick Venture95269db2018-08-31 09:19:17 -070074 Priority: 2
Patrick Williams127b8ab2020-05-21 15:24:19 -050075 - Regex: '^<.*\.h>'
Patrick Venture95269db2018-08-31 09:19:17 -070076 Priority: 3
Patrick Williams127b8ab2020-05-21 15:24:19 -050077 - Regex: '^<.*\.hpp>'
Patrick Venture95269db2018-08-31 09:19:17 -070078 Priority: 4
Patrick Williams127b8ab2020-05-21 15:24:19 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Andrew Geissler072da3e2018-01-18 07:21:42 -080083IndentCaseLabels: true
Patrick Williams6db88382023-10-20 11:18:17 -050084IndentExternBlock: NoIndent
Patrick Williams41f42f62022-09-30 06:49:50 -050085IndentRequiresClause: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080086IndentWidth: 4
Adriana Kobylakf9c02db2018-02-28 13:28:54 -060087IndentWrappedFunctionNames: true
Patrick Williamsd2149042023-05-10 07:50:13 -050088InsertNewlineAtEOF: true
Patrick Williamsf289c652022-08-26 10:43:10 -050089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsd2149042023-05-10 07:50:13 -050090LambdaBodyIndentation: OuterScope
91LineEnding: LF
Andrew Geissler072da3e2018-01-18 07:21:42 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams6db88382023-10-20 11:18:17 -050099PackConstructorInitializers: BinPack
Patrick Williams1a25a102022-09-29 17:18:26 -0500100PenaltyBreakAssignment: 25
Andrew Geissler072da3e2018-01-18 07:21:42 -0800101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams1a25a102022-09-29 17:18:26 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams6db88382023-10-20 11:18:17 -0500108PointerAlignment: Left
Patrick Williams41f42f62022-09-30 06:49:50 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Andrew Geissler072da3e2018-01-18 07:21:42 -0800111ReflowComments: true
Patrick Williams41f42f62022-09-30 06:49:50 -0500112RequiresClausePosition: OwnLine
Patrick Williamsd2149042023-05-10 07:50:13 -0500113RequiresExpressionIndentation: Keyword
Patrick Williams6db88382023-10-20 11:18:17 -0500114SortIncludes: CaseSensitive
William A. Kennington III06da5622018-08-31 13:00:29 -0700115SortUsingDeclarations: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800116SpaceAfterCStyleCast: false
Patrick Williams127b8ab2020-05-21 15:24:19 -0500117SpaceAfterTemplateKeyword: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800118SpaceBeforeAssignmentOperators: true
Patrick Williams127b8ab2020-05-21 15:24:19 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800122SpaceBeforeParens: ControlStatements
Patrick Williams127b8ab2020-05-21 15:24:19 -0500123SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams6db88382023-10-20 11:18:17 -0500126SpacesInAngles: Never
Andrew Geissler072da3e2018-01-18 07:21:42 -0800127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williamsf289c652022-08-26 10:43:10 -0500131Standard: Latest
Andrew Geissler072da3e2018-01-18 07:21:42 -0800132TabWidth: 4
Andrew Geissler072da3e2018-01-18 07:21:42 -0800133UseTab: Never
134...
135