blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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
Patrick Williams9898d612024-08-16 15:21:15 -040090LambdaBodyIndentation: Signature
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
Patrick Williams9898d612024-08-16 15:21:15 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Dawid Fryckia642a942018-06-12 10:44:23 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams9898d612024-08-16 15:21:15 -0400105PenaltyBreakTemplateDeclaration: 10
Dawid Fryckia642a942018-06-12 10:44:23 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams9898d612024-08-16 15:21:15 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams64067be2023-10-20 11:19:26 -0500109PointerAlignment: Left
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Dawid Fryckia642a942018-06-12 10:44:23 -0700112ReflowComments: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500113RequiresClausePosition: OwnLine
Patrick Williams3c796a62023-05-10 07:51:01 -0500114RequiresExpressionIndentation: Keyword
Patrick Williams64067be2023-10-20 11:19:26 -0500115SortIncludes: CaseSensitive
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500116SortUsingDeclarations: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700117SpaceAfterCStyleCast: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500118SpaceAfterTemplateKeyword: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700119SpaceBeforeAssignmentOperators: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700123SpaceBeforeParens: ControlStatements
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500124SpaceBeforeRangeBasedForLoopColon: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams64067be2023-10-20 11:19:26 -0500127SpacesInAngles: Never
Dawid Fryckia642a942018-06-12 10:44:23 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500132Standard: Latest
Dawid Fryckia642a942018-06-12 10:44:23 -0700133TabWidth: 4
134UseTab: Never
135...
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500136