blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Patrick Venture4d5a5dc2018-11-14 08:51:13 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Artem Senicheve8837d52020-06-07 11:59:04 +03008AlignEscapedNewlines: Right
Patrick Williamsb6752722023-05-10 07:50:26 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsb6752722023-05-10 07:50:26 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsb6752722023-05-10 07:50:26 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams84b1cf62023-10-20 11:18:38 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080019AllowShortLoopsOnASingleLine: false
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080020AlwaysBreakBeforeMultilineStrings: false
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080021BinPackArguments: true
22BinPackParameters: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050023BitFieldColonSpacing: None
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080024BraceWrapping:
Artem Senicheve8837d52020-06-07 11:59:04 +030025 AfterCaseLabel: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050029 AfterExternBlock: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080039 IndentBraces: false
Artem Senicheve8837d52020-06-07 11:59:04 +030040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsb6752722023-05-10 07:50:26 -050043BreakAfterAttributes: Never
Patrick Williams4fb4e062024-12-18 11:20:41 -050044BreakAfterReturnType: Automatic
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Artem Senicheve8837d52020-06-07 11:59:04 +030049BreakInheritanceList: AfterColon
Patrick Williamsb6752722023-05-10 07:50:26 -050050BreakStringLiterals: false
Patrick Williams4fb4e062024-12-18 11:20:41 -050051BreakTemplateDeclarations: Yes
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Artem Senicheve8837d52020-06-07 11:59:04 +030054CompactNamespaces: false
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080059DisableFormat: false
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080060FixNamespaceComments: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Artem Senicheve8837d52020-06-07 11:59:04 +030068 Priority: 7
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080069 - Regex: '^"config.h"'
70 Priority: -1
Artem Senicheve8837d52020-06-07 11:59:04 +030071 - Regex: '^".*\.h"'
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080072 Priority: 1
Artem Senicheve8837d52020-06-07 11:59:04 +030073 - Regex: '^".*\.hpp"'
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080074 Priority: 2
Artem Senicheve8837d52020-06-07 11:59:04 +030075 - Regex: '^<.*\.h>'
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080076 Priority: 3
Artem Senicheve8837d52020-06-07 11:59:04 +030077 - Regex: '^<.*\.hpp>'
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080078 Priority: 4
Artem Senicheve8837d52020-06-07 11:59:04 +030079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080083IndentCaseLabels: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050084IndentExternBlock: NoIndent
Patrick Williamsb6752722023-05-10 07:50:26 -050085IndentRequiresClause: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsb6752722023-05-10 07:50:26 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams87c333e2024-08-16 15:20:11 -040090LambdaBodyIndentation: Signature
Patrick Williamsb6752722023-05-10 07:50:26 -050091LineEnding: LF
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050099PackConstructorInitializers: BinPack
Patrick Williamsb6752722023-05-10 07:50:26 -0500100PenaltyBreakAssignment: 25
Patrick Williams87c333e2024-08-16 15:20:11 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams87c333e2024-08-16 15:20:11 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams87c333e2024-08-16 15:20:11 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams84b1cf62023-10-20 11:18:38 -0500109PointerAlignment: Left
Patrick Williamsb6752722023-05-10 07:50:26 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800112ReflowComments: true
Patrick Williamsb6752722023-05-10 07:50:26 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams84b1cf62023-10-20 11:18:38 -0500115SortIncludes: CaseSensitive
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Artem Senicheve8837d52020-06-07 11:59:04 +0300118SpaceAfterTemplateKeyword: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800119SpaceBeforeAssignmentOperators: true
Artem Senicheve8837d52020-06-07 11:59:04 +0300120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800123SpaceBeforeParens: ControlStatements
Artem Senicheve8837d52020-06-07 11:59:04 +0300124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams84b1cf62023-10-20 11:18:38 -0500127SpacesInAngles: Never
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Artem Senicheve8837d52020-06-07 11:59:04 +0300132Standard: Latest
Patrick Venture4d5a5dc2018-11-14 08:51:13 -0800133TabWidth: 4
134UseTab: Never
135...
136