blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [file] [log] [blame]
Adedeji Adebisi684ec912021-07-22 18:07:52 +00001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -05009AlignOperands: Align
Patrick Williamsc3aa2a82023-05-10 07:51:38 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Adedeji Adebisi684ec912021-07-22 18:07:52 +000013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -050014AllowShortBlocksOnASingleLine: Empty
Adedeji Adebisi684ec912021-07-22 18:07:52 +000015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams97749092023-10-20 11:20:24 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Adedeji Adebisi684ec912021-07-22 18:07:52 +000019AllowShortLoopsOnASingleLine: false
20AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
22AlwaysBreakTemplateDeclarations: Yes
23BinPackArguments: true
24BinPackParameters: true
Patrick Williams97749092023-10-20 11:20:24 -050025BitFieldColonSpacing: None
Adedeji Adebisi684ec912021-07-22 18:07:52 +000026BraceWrapping:
27 AfterCaseLabel: true
28 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams97749092023-10-20 11:20:24 -050031 AfterExternBlock: true
Adedeji Adebisi684ec912021-07-22 18:07:52 +000032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
Adedeji Adebisi684ec912021-07-22 18:07:52 +000037 BeforeCatch: true
38 BeforeElse: true
Patrick Williams97749092023-10-20 11:20:24 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Adedeji Adebisi684ec912021-07-22 18:07:52 +000041 IndentBraces: false
42 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsc3aa2a82023-05-10 07:51:38 -050045BreakAfterAttributes: Never
Adedeji Adebisi684ec912021-07-22 18:07:52 +000046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
50BreakInheritanceList: AfterColon
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -050051BreakStringLiterals: false
Adedeji Adebisi684ec912021-07-22 18:07:52 +000052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
54CompactNamespaces: false
Adedeji Adebisi684ec912021-07-22 18:07:52 +000055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Adedeji Adebisi684ec912021-07-22 18:07:52 +000059DisableFormat: false
Adedeji Adebisi684ec912021-07-22 18:07:52 +000060FixNamespaceComments: true
Patrick Williams97749092023-10-20 11:20:24 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Adedeji Adebisi684ec912021-07-22 18:07:52 +000065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
68 Priority: 7
69 - Regex: '^"config.h"'
70 Priority: -1
71 - Regex: '^".*\.h"'
72 Priority: 1
73 - Regex: '^".*\.hpp"'
74 Priority: 2
75 - Regex: '^<.*\.h>'
76 Priority: 3
77 - Regex: '^<.*\.hpp>'
78 Priority: 4
79 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
83IndentCaseLabels: true
Patrick Williams97749092023-10-20 11:20:24 -050084IndentExternBlock: NoIndent
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -050085IndentRequiresClause: true
Adedeji Adebisi684ec912021-07-22 18:07:52 +000086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsc3aa2a82023-05-10 07:51:38 -050088InsertNewlineAtEOF: true
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -050089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams3efd0b92024-08-16 15:22:31 -040090LambdaBodyIndentation: Signature
Patrick Williamsc3aa2a82023-05-10 07:51:38 -050091LineEnding: LF
Adedeji Adebisi684ec912021-07-22 18:07:52 +000092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams97749092023-10-20 11:20:24 -050099PackConstructorInitializers: BinPack
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -0500100PenaltyBreakAssignment: 25
Patrick Williams3efd0b92024-08-16 15:22:31 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Adedeji Adebisi684ec912021-07-22 18:07:52 +0000102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams3efd0b92024-08-16 15:22:31 -0400105PenaltyBreakTemplateDeclaration: 10
Adedeji Adebisi684ec912021-07-22 18:07:52 +0000106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams3efd0b92024-08-16 15:22:31 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams97749092023-10-20 11:20:24 -0500109PointerAlignment: Left
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Adedeji Adebisi684ec912021-07-22 18:07:52 +0000112ReflowComments: true
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -0500113RequiresClausePosition: OwnLine
Patrick Williamsc3aa2a82023-05-10 07:51:38 -0500114RequiresExpressionIndentation: Keyword
Patrick Williams97749092023-10-20 11:20:24 -0500115SortIncludes: CaseSensitive
Adedeji Adebisi684ec912021-07-22 18:07:52 +0000116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
118SpaceAfterTemplateKeyword: true
119SpaceBeforeAssignmentOperators: true
120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
123SpaceBeforeParens: ControlStatements
124SpaceBeforeRangeBasedForLoopColon: true
125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams97749092023-10-20 11:20:24 -0500127SpacesInAngles: Never
Adedeji Adebisi684ec912021-07-22 18:07:52 +0000128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
132Standard: Latest
133TabWidth: 4
134UseTab: Never
Patrick Williamsf5c0b9d2023-03-14 09:31:01 -0500135...
136