blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Patrick Venture537ff142018-11-01 16:37:09 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Manojkiran Edaee12f482021-10-26 22:16:29 +05308AlignEscapedNewlines: Right
Patrick Williamsaa902c62023-04-04 19:59:51 -05009AlignOperands: Align
Patrick Williams16424ed2023-05-10 07:51:40 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture537ff142018-11-01 16:37:09 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture537ff142018-11-01 16:37:09 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsaa902c62023-04-04 19:59:51 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams99f391b2023-10-20 11:20:24 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venture537ff142018-11-01 16:37:09 -070019AllowShortLoopsOnASingleLine: false
Patrick Venture537ff142018-11-01 16:37:09 -070020AlwaysBreakBeforeMultilineStrings: false
Patrick Venture537ff142018-11-01 16:37:09 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williams99f391b2023-10-20 11:20:24 -050023BitFieldColonSpacing: None
Patrick Venture537ff142018-11-01 16:37:09 -070024BraceWrapping:
Manojkiran Edaee12f482021-10-26 22:16:29 +053025 AfterCaseLabel: true
Patrick Venture537ff142018-11-01 16:37:09 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams99f391b2023-10-20 11:20:24 -050029 AfterExternBlock: true
Patrick Venture537ff142018-11-01 16:37:09 -070030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams99f391b2023-10-20 11:20:24 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venture537ff142018-11-01 16:37:09 -070039 IndentBraces: false
Manojkiran Edaee12f482021-10-26 22:16:29 +053040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams16424ed2023-05-10 07:51:40 -050043BreakAfterAttributes: Never
Patrick Williams7f70ddf2024-12-18 11:23:06 -050044BreakAfterReturnType: Automatic
Patrick Venture537ff142018-11-01 16:37:09 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Manojkiran Edaee12f482021-10-26 22:16:29 +053049BreakInheritanceList: AfterColon
50BreakStringLiterals: false
Patrick Williams7f70ddf2024-12-18 11:23:06 -050051BreakTemplateDeclarations: Yes
Patrick Venture537ff142018-11-01 16:37:09 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Manojkiran Edaee12f482021-10-26 22:16:29 +053054CompactNamespaces: false
Patrick Venture537ff142018-11-01 16:37:09 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venture537ff142018-11-01 16:37:09 -070059DisableFormat: false
Patrick Venture537ff142018-11-01 16:37:09 -070060FixNamespaceComments: true
Patrick Williams99f391b2023-10-20 11:20:24 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture537ff142018-11-01 16:37:09 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Manojkiran Edaee12f482021-10-26 22:16:29 +053068 Priority: 7
Patrick Venture537ff142018-11-01 16:37:09 -070069 - Regex: '^"config.h"'
70 Priority: -1
Manojkiran Edaee12f482021-10-26 22:16:29 +053071 - Regex: '^".*\.h"'
Patrick Venture537ff142018-11-01 16:37:09 -070072 Priority: 1
Manojkiran Edaee12f482021-10-26 22:16:29 +053073 - Regex: '^".*\.hpp"'
Patrick Venture537ff142018-11-01 16:37:09 -070074 Priority: 2
Manojkiran Edaee12f482021-10-26 22:16:29 +053075 - Regex: '^<.*\.h>'
Patrick Venture537ff142018-11-01 16:37:09 -070076 Priority: 3
Manojkiran Edaee12f482021-10-26 22:16:29 +053077 - Regex: '^<.*\.hpp>'
Patrick Venture537ff142018-11-01 16:37:09 -070078 Priority: 4
Manojkiran Edaee12f482021-10-26 22:16:29 +053079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venture537ff142018-11-01 16:37:09 -070083IndentCaseLabels: true
Patrick Williams99f391b2023-10-20 11:20:24 -050084IndentExternBlock: NoIndent
Patrick Williamsaa902c62023-04-04 19:59:51 -050085IndentRequiresClause: true
Patrick Venture537ff142018-11-01 16:37:09 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams16424ed2023-05-10 07:51:40 -050088InsertNewlineAtEOF: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams1a6b1c22024-08-16 15:22:34 -040090LambdaBodyIndentation: Signature
Patrick Williams16424ed2023-05-10 07:51:40 -050091LineEnding: LF
Patrick Venture537ff142018-11-01 16:37:09 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams99f391b2023-10-20 11:20:24 -050099PackConstructorInitializers: BinPack
Patrick Williamsaa902c62023-04-04 19:59:51 -0500100PenaltyBreakAssignment: 25
Patrick Williams1a6b1c22024-08-16 15:22:34 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venture537ff142018-11-01 16:37:09 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams1a6b1c22024-08-16 15:22:34 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venture537ff142018-11-01 16:37:09 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams1a6b1c22024-08-16 15:22:34 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams99f391b2023-10-20 11:20:24 -0500109PointerAlignment: Left
Patrick Williamsaa902c62023-04-04 19:59:51 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venture537ff142018-11-01 16:37:09 -0700112ReflowComments: true
Patrick Williamsaa902c62023-04-04 19:59:51 -0500113RequiresClausePosition: OwnLine
Patrick Williams16424ed2023-05-10 07:51:40 -0500114RequiresExpressionIndentation: Keyword
Patrick Williams99f391b2023-10-20 11:20:24 -0500115SortIncludes: CaseSensitive
Patrick Venture537ff142018-11-01 16:37:09 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Manojkiran Edaee12f482021-10-26 22:16:29 +0530118SpaceAfterTemplateKeyword: true
Patrick Venture537ff142018-11-01 16:37:09 -0700119SpaceBeforeAssignmentOperators: true
Manojkiran Edaee12f482021-10-26 22:16:29 +0530120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venture537ff142018-11-01 16:37:09 -0700123SpaceBeforeParens: ControlStatements
Manojkiran Edaee12f482021-10-26 22:16:29 +0530124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture537ff142018-11-01 16:37:09 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams99f391b2023-10-20 11:20:24 -0500127SpacesInAngles: Never
Patrick Venture537ff142018-11-01 16:37:09 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Manojkiran Edaee12f482021-10-26 22:16:29 +0530132Standard: Latest
Patrick Venture537ff142018-11-01 16:37:09 -0700133TabWidth: 4
Patrick Venture537ff142018-11-01 16:37:09 -0700134UseTab: Never
135...
136