blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Dawid Fryckia642a942018-06-12 10:44:23 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
Patrick Williams3c796a62023-05-10 07:51:01 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Dawid Fryckia642a942018-06-12 10:44:23 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050014AllowShortBlocksOnASingleLine: Empty
Dawid Fryckia642a942018-06-12 10:44:23 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams64067be2023-10-20 11:19:26 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Dawid Fryckia642a942018-06-12 10:44:23 -070019AllowShortLoopsOnASingleLine: false
Dawid Fryckia642a942018-06-12 10:44:23 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050022AlwaysBreakTemplateDeclarations: Yes
Dawid Fryckia642a942018-06-12 10:44:23 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williams64067be2023-10-20 11:19:26 -050025BitFieldColonSpacing: None
Dawid Fryckia642a942018-06-12 10:44:23 -070026BraceWrapping:
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050027 AfterCaseLabel: true
Dawid Fryckia642a942018-06-12 10:44:23 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams64067be2023-10-20 11:19:26 -050031 AfterExternBlock: true
Dawid Fryckia642a942018-06-12 10:44:23 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams64067be2023-10-20 11:19:26 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Dawid Fryckia642a942018-06-12 10:44:23 -070041 IndentBraces: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams3c796a62023-05-10 07:51:01 -050045BreakAfterAttributes: Never
Dawid Fryckia642a942018-06-12 10:44:23 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050050BreakInheritanceList: AfterColon
51BreakStringLiterals: false
Dawid Fryckia642a942018-06-12 10:44:23 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050054CompactNamespaces: false
Dawid Fryckia642a942018-06-12 10:44:23 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050058DerivePointerAlignment: false
Dawid Fryckia642a942018-06-12 10:44:23 -070059DisableFormat: false
Dawid Fryckia642a942018-06-12 10:44:23 -070060FixNamespaceComments: true
Patrick Williams64067be2023-10-20 11:19:26 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Dawid Fryckia642a942018-06-12 10:44:23 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050068 Priority: 7
Dawid Fryckia642a942018-06-12 10:44:23 -070069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050071 - Regex: '^".*\.h"'
Dawid Fryckia642a942018-06-12 10:44:23 -070072 Priority: 1
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050073 - Regex: '^".*\.hpp"'
Dawid Fryckia642a942018-06-12 10:44:23 -070074 Priority: 2
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050075 - Regex: '^<.*\.h>'
Dawid Fryckia642a942018-06-12 10:44:23 -070076 Priority: 3
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050077 - Regex: '^<.*\.hpp>'
Dawid Fryckia642a942018-06-12 10:44:23 -070078 Priority: 4
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Dawid Fryckia642a942018-06-12 10:44:23 -070083IndentCaseLabels: true
Patrick Williams64067be2023-10-20 11:19:26 -050084IndentExternBlock: NoIndent
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050085IndentRequiresClause: true
Dawid Fryckia642a942018-06-12 10:44:23 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams3c796a62023-05-10 07:51:01 -050088InsertNewlineAtEOF: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050089KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
Patrick Williams3c796a62023-05-10 07:51:01 -050091LineEnding: LF
Dawid Fryckia642a942018-06-12 10:44:23 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams64067be2023-10-20 11:19:26 -050099PackConstructorInitializers: BinPack
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500100PenaltyBreakAssignment: 25
Dawid Fryckia642a942018-06-12 10:44:23 -0700101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams64067be2023-10-20 11:19:26 -0500108PointerAlignment: Left
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Dawid Fryckia642a942018-06-12 10:44:23 -0700111ReflowComments: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500112RequiresClausePosition: OwnLine
Patrick Williams3c796a62023-05-10 07:51:01 -0500113RequiresExpressionIndentation: Keyword
Patrick Williams64067be2023-10-20 11:19:26 -0500114SortIncludes: CaseSensitive
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500115SortUsingDeclarations: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700116SpaceAfterCStyleCast: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500117SpaceAfterTemplateKeyword: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700118SpaceBeforeAssignmentOperators: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700122SpaceBeforeParens: ControlStatements
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500123SpaceBeforeRangeBasedForLoopColon: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams64067be2023-10-20 11:19:26 -0500126SpacesInAngles: Never
Dawid Fryckia642a942018-06-12 10:44:23 -0700127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500131Standard: Latest
Dawid Fryckia642a942018-06-12 10:44:23 -0700132TabWidth: 4
133UseTab: Never
134...
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500135