blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Adriana Kobylak2285fe02018-02-27 15:36:59 -06001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -05008AlignEscapedNewlines: Right
Patrick Williamsd5e8e732023-05-10 07:50:18 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Adriana Kobylak2285fe02018-02-27 15:36:59 -060013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsd5e8e732023-05-10 07:50:18 -050014AllowShortBlocksOnASingleLine: Empty
Adriana Kobylak2285fe02018-02-27 15:36:59 -060015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsd5e8e732023-05-10 07:50:18 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams04d78d12023-10-20 11:18:26 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -060019AllowShortLoopsOnASingleLine: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -050022AlwaysBreakTemplateDeclarations: Yes
Adriana Kobylak2285fe02018-02-27 15:36:59 -060023BinPackArguments: true
24BinPackParameters: true
Patrick Williams04d78d12023-10-20 11:18:26 -050025BitFieldColonSpacing: None
Adriana Kobylak2285fe02018-02-27 15:36:59 -060026BraceWrapping:
Adriana Kobylak58aa7502020-06-08 11:12:11 -050027 AfterCaseLabel: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -060028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams04d78d12023-10-20 11:18:26 -050031 AfterExternBlock: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -060032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams04d78d12023-10-20 11:18:26 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060041 IndentBraces: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsd5e8e732023-05-10 07:50:18 -050045BreakAfterAttributes: Never
Adriana Kobylak2285fe02018-02-27 15:36:59 -060046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Adriana Kobylak58aa7502020-06-08 11:12:11 -050050BreakInheritanceList: AfterColon
Patrick Williamsa5d059c2021-08-27 06:14:19 -050051BreakStringLiterals: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Adriana Kobylak58aa7502020-06-08 11:12:11 -050054CompactNamespaces: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Gunnar Millsb0ce9962018-09-07 13:39:10 -050058DerivePointerAlignment: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060059DisableFormat: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060060FixNamespaceComments: true
Patrick Williams04d78d12023-10-20 11:18:26 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Gunnar Millsb0ce9962018-09-07 13:39:10 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Adriana Kobylak58aa7502020-06-08 11:12:11 -050068 Priority: 7
Gunnar Millsb0ce9962018-09-07 13:39:10 -050069 - Regex: '^"config.h"'
70 Priority: -1
Adriana Kobylak58aa7502020-06-08 11:12:11 -050071 - Regex: '^".*\.h"'
Gunnar Millsb0ce9962018-09-07 13:39:10 -050072 Priority: 1
Adriana Kobylak58aa7502020-06-08 11:12:11 -050073 - Regex: '^".*\.hpp"'
Gunnar Millsb0ce9962018-09-07 13:39:10 -050074 Priority: 2
Adriana Kobylak58aa7502020-06-08 11:12:11 -050075 - Regex: '^<.*\.h>'
Gunnar Millsb0ce9962018-09-07 13:39:10 -050076 Priority: 3
Adriana Kobylak58aa7502020-06-08 11:12:11 -050077 - Regex: '^<.*\.hpp>'
Gunnar Millsb0ce9962018-09-07 13:39:10 -050078 Priority: 4
Adriana Kobylak58aa7502020-06-08 11:12:11 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Adriana Kobylak2285fe02018-02-27 15:36:59 -060083IndentCaseLabels: true
Patrick Williams04d78d12023-10-20 11:18:26 -050084IndentExternBlock: NoIndent
Patrick Williamsd5e8e732023-05-10 07:50:18 -050085IndentRequiresClause: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -060086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsd5e8e732023-05-10 07:50:18 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Adriana Kobylak2285fe02018-02-27 15:36:59 -060092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams04d78d12023-10-20 11:18:26 -050099PackConstructorInitializers: BinPack
Patrick Williamsd5e8e732023-05-10 07:50:18 -0500100PenaltyBreakAssignment: 25
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsd5e8e732023-05-10 07:50:18 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams04d78d12023-10-20 11:18:26 -0500108PointerAlignment: Left
Patrick Williamsd5e8e732023-05-10 07:50:18 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600111ReflowComments: true
Patrick Williamsd5e8e732023-05-10 07:50:18 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams04d78d12023-10-20 11:18:26 -0500114SortIncludes: CaseSensitive
Gunnar Millsd9341b42018-09-14 14:42:28 -0500115SortUsingDeclarations: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600116SpaceAfterCStyleCast: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500117SpaceAfterTemplateKeyword: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600118SpaceBeforeAssignmentOperators: true
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600122SpaceBeforeParens: ControlStatements
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500123SpaceBeforeRangeBasedForLoopColon: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams04d78d12023-10-20 11:18:26 -0500126SpacesInAngles: Never
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500131Standard: Latest
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600132TabWidth: 4
133UseTab: Never
134...
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500135