blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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
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