blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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 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
107PenaltyReturnTypeOnItsOwnLine: 60
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