blob: e5530e6b6b094a2c67bbfb4416a3a6b05e7239be [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 -080020AlwaysBreakBeforeMultilineStrings: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080021BinPackArguments: true
22BinPackParameters: true
Patrick Williams6db88382023-10-20 11:18:17 -050023BitFieldColonSpacing: None
Andrew Geissler072da3e2018-01-18 07:21:42 -080024BraceWrapping:
Patrick Williams01ac5ca2020-05-21 15:06:30 -050025 AfterCaseLabel: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams6db88382023-10-20 11:18:17 -050029 AfterExternBlock: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams6db88382023-10-20 11:18:17 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080039 IndentBraces: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsd2149042023-05-10 07:50:13 -050043BreakAfterAttributes: Never
Patrick Williams36137e02024-12-18 11:20:12 -050044BreakAfterReturnType: Automatic
Andrew Geissler072da3e2018-01-18 07:21:42 -080045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Patrick Williams127b8ab2020-05-21 15:24:19 -050049BreakInheritanceList: AfterColon
Patrick Williamsf289c652022-08-26 10:43:10 -050050BreakStringLiterals: false
Patrick Williams36137e02024-12-18 11:20:12 -050051BreakTemplateDeclarations: Yes
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 Williams06f265f2024-08-16 15:19:49 -040090LambdaBodyIndentation: Signature
Patrick Williamsd2149042023-05-10 07:50:13 -050091LineEnding: 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
Patrick Williams06f265f2024-08-16 15:19:49 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Andrew Geissler072da3e2018-01-18 07:21:42 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams06f265f2024-08-16 15:19:49 -0400105PenaltyBreakTemplateDeclaration: 10
Andrew Geissler072da3e2018-01-18 07:21:42 -0800106PenaltyExcessCharacter: 1000000
Patrick Williams62691572025-02-01 08:21:40 -0500107PenaltyReturnTypeOnItsOwnLine: 150
Patrick Williams06f265f2024-08-16 15:19:49 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams6db88382023-10-20 11:18:17 -0500109PointerAlignment: Left
Patrick Williams41f42f62022-09-30 06:49:50 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Andrew Geissler072da3e2018-01-18 07:21:42 -0800112ReflowComments: true
Patrick Williams41f42f62022-09-30 06:49:50 -0500113RequiresClausePosition: OwnLine
Patrick Williamsd2149042023-05-10 07:50:13 -0500114RequiresExpressionIndentation: Keyword
Patrick Williams6db88382023-10-20 11:18:17 -0500115SortIncludes: CaseSensitive
William A. Kennington III06da5622018-08-31 13:00:29 -0700116SortUsingDeclarations: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800117SpaceAfterCStyleCast: false
Patrick Williams127b8ab2020-05-21 15:24:19 -0500118SpaceAfterTemplateKeyword: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800119SpaceBeforeAssignmentOperators: true
Patrick Williams127b8ab2020-05-21 15:24:19 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800123SpaceBeforeParens: ControlStatements
Patrick Williams127b8ab2020-05-21 15:24:19 -0500124SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams6db88382023-10-20 11:18:17 -0500127SpacesInAngles: Never
Andrew Geissler072da3e2018-01-18 07:21:42 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williamsf289c652022-08-26 10:43:10 -0500132Standard: Latest
Andrew Geissler072da3e2018-01-18 07:21:42 -0800133TabWidth: 4
Andrew Geissler072da3e2018-01-18 07:21:42 -0800134UseTab: Never
135...
136