blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Vijay Khemkae7d23d02019-03-08 13:13:40 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Vijay Khemkad1194022020-05-27 18:58:33 -07008AlignEscapedNewlines: Right
Patrick Williams2405ae92023-05-10 07:50:09 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Vijay Khemkae7d23d02019-03-08 13:13:40 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2405ae92023-05-10 07:50:09 -050014AllowShortBlocksOnASingleLine: Empty
Vijay Khemkae7d23d02019-03-08 13:13:40 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams2405ae92023-05-10 07:50:09 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams8fe3a442023-10-20 11:18:04 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080019AllowShortLoopsOnASingleLine: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080020AlwaysBreakBeforeMultilineStrings: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080021BinPackArguments: true
22BinPackParameters: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050023BitFieldColonSpacing: None
Vijay Khemkae7d23d02019-03-08 13:13:40 -080024BraceWrapping:
Vijay Khemkad1194022020-05-27 18:58:33 -070025 AfterCaseLabel: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050029 AfterExternBlock: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080039 IndentBraces: false
Vijay Khemkad1194022020-05-27 18:58:33 -070040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams2405ae92023-05-10 07:50:09 -050043BreakAfterAttributes: Never
Patrick Williams78695222024-12-18 11:20:07 -050044BreakAfterReturnType: Automatic
Vijay Khemkae7d23d02019-03-08 13:13:40 -080045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Vijay Khemkad1194022020-05-27 18:58:33 -070049BreakInheritanceList: AfterColon
Patrick Williams2405ae92023-05-10 07:50:09 -050050BreakStringLiterals: false
Patrick Williams78695222024-12-18 11:20:07 -050051BreakTemplateDeclarations: Yes
Vijay Khemkae7d23d02019-03-08 13:13:40 -080052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Vijay Khemkad1194022020-05-27 18:58:33 -070054CompactNamespaces: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Vijay Khemkad1194022020-05-27 18:58:33 -070058DerivePointerAlignment: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080059DisableFormat: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080060FixNamespaceComments: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Vijay Khemkad1194022020-05-27 18:58:33 -070065IncludeBlocks: 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
Vijay Khemkae7d23d02019-03-08 13:13:40 -080083IndentCaseLabels: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050084IndentExternBlock: NoIndent
Patrick Williams2405ae92023-05-10 07:50:09 -050085IndentRequiresClause: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams2405ae92023-05-10 07:50:09 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams010dee02024-08-16 15:19:44 -040090LambdaBodyIndentation: Signature
Patrick Williams2405ae92023-05-10 07:50:09 -050091LineEnding: LF
Vijay Khemkae7d23d02019-03-08 13:13:40 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050099PackConstructorInitializers: BinPack
Patrick Williams2405ae92023-05-10 07:50:09 -0500100PenaltyBreakAssignment: 25
Patrick Williams010dee02024-08-16 15:19:44 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams010dee02024-08-16 15:19:44 -0400105PenaltyBreakTemplateDeclaration: 10
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams010dee02024-08-16 15:19:44 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams8fe3a442023-10-20 11:18:04 -0500109PointerAlignment: Left
Patrick Williams2405ae92023-05-10 07:50:09 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800112ReflowComments: true
Patrick Williams2405ae92023-05-10 07:50:09 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams8fe3a442023-10-20 11:18:04 -0500115SortIncludes: CaseSensitive
Vijay Khemkad1194022020-05-27 18:58:33 -0700116SortUsingDeclarations: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800117SpaceAfterCStyleCast: false
Vijay Khemkad1194022020-05-27 18:58:33 -0700118SpaceAfterTemplateKeyword: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800119SpaceBeforeAssignmentOperators: true
Vijay Khemkad1194022020-05-27 18:58:33 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800123SpaceBeforeParens: ControlStatements
Vijay Khemkad1194022020-05-27 18:58:33 -0700124SpaceBeforeRangeBasedForLoopColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams8fe3a442023-10-20 11:18:04 -0500127SpacesInAngles: Never
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams2405ae92023-05-10 07:50:09 -0500132Standard: Latest
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800133TabWidth: 4
134UseTab: Never
135...
136