blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [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 -060020AlwaysBreakBeforeMultilineStrings: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060021BinPackArguments: true
22BinPackParameters: true
Patrick Williams04d78d12023-10-20 11:18:26 -050023BitFieldColonSpacing: None
Adriana Kobylak2285fe02018-02-27 15:36:59 -060024BraceWrapping:
Adriana Kobylak58aa7502020-06-08 11:12:11 -050025 AfterCaseLabel: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -060026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams04d78d12023-10-20 11:18:26 -050029 AfterExternBlock: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -060030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams04d78d12023-10-20 11:18:26 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Adriana Kobylak2285fe02018-02-27 15:36:59 -060039 IndentBraces: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsd5e8e732023-05-10 07:50:18 -050043BreakAfterAttributes: Never
Patrick Williamsb3e3d642024-12-18 11:20:22 -050044BreakAfterReturnType: Automatic
Adriana Kobylak2285fe02018-02-27 15:36:59 -060045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Adriana Kobylak58aa7502020-06-08 11:12:11 -050049BreakInheritanceList: AfterColon
Patrick Williamsa5d059c2021-08-27 06:14:19 -050050BreakStringLiterals: false
Patrick Williamsb3e3d642024-12-18 11:20:22 -050051BreakTemplateDeclarations: Yes
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
Patrick Williamsfc33ba82024-08-16 15:19:54 -040090LambdaBodyIndentation: Signature
Patrick Williamsd5e8e732023-05-10 07:50:18 -050091LineEnding: 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
Patrick Williamsfc33ba82024-08-16 15:19:54 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsfc33ba82024-08-16 15:19:54 -0400105PenaltyBreakTemplateDeclaration: 10
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsfc33ba82024-08-16 15:19:54 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams04d78d12023-10-20 11:18:26 -0500109PointerAlignment: Left
Patrick Williamsd5e8e732023-05-10 07:50:18 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600112ReflowComments: true
Patrick Williamsd5e8e732023-05-10 07:50:18 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams04d78d12023-10-20 11:18:26 -0500115SortIncludes: CaseSensitive
Gunnar Millsd9341b42018-09-14 14:42:28 -0500116SortUsingDeclarations: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600117SpaceAfterCStyleCast: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500118SpaceAfterTemplateKeyword: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600119SpaceBeforeAssignmentOperators: true
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600123SpaceBeforeParens: ControlStatements
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500124SpaceBeforeRangeBasedForLoopColon: true
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams04d78d12023-10-20 11:18:26 -0500127SpacesInAngles: Never
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500132Standard: Latest
Adriana Kobylak2285fe02018-02-27 15:36:59 -0600133TabWidth: 4
134UseTab: Never
135...
Adriana Kobylak58aa7502020-06-08 11:12:11 -0500136