blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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 -080020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Artem Senicheve8837d52020-06-07 11:59:04 +030022AlwaysBreakTemplateDeclarations: Yes
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050025BitFieldColonSpacing: None
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080026BraceWrapping:
Artem Senicheve8837d52020-06-07 11:59:04 +030027 AfterCaseLabel: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050031 AfterExternBlock: true
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams84b1cf62023-10-20 11:18:38 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080041 IndentBraces: false
Artem Senicheve8837d52020-06-07 11:59:04 +030042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsb6752722023-05-10 07:50:26 -050045BreakAfterAttributes: Never
Patrick Venture4d5a5dc2018-11-14 08:51:13 -080046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Artem Senicheve8837d52020-06-07 11:59:04 +030050BreakInheritanceList: AfterColon
Patrick Williamsb6752722023-05-10 07:50:26 -050051BreakStringLiterals: false
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