blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [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 -080020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Vijay Khemkad1194022020-05-27 18:58:33 -070022AlwaysBreakTemplateDeclarations: Yes
Vijay Khemkae7d23d02019-03-08 13:13:40 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050025BitFieldColonSpacing: None
Vijay Khemkae7d23d02019-03-08 13:13:40 -080026BraceWrapping:
Vijay Khemkad1194022020-05-27 18:58:33 -070027 AfterCaseLabel: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050031 AfterExternBlock: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080041 IndentBraces: false
Vijay Khemkad1194022020-05-27 18:58:33 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams2405ae92023-05-10 07:50:09 -050045BreakAfterAttributes: Never
Vijay Khemkae7d23d02019-03-08 13:13:40 -080046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Vijay Khemkad1194022020-05-27 18:58:33 -070050BreakInheritanceList: AfterColon
Patrick Williams2405ae92023-05-10 07:50:09 -050051BreakStringLiterals: false
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
90LambdaBodyIndentation: OuterScope
91LineEnding: 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
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams2405ae92023-05-10 07:50:09 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams8fe3a442023-10-20 11:18:04 -0500108PointerAlignment: Left
Patrick Williams2405ae92023-05-10 07:50:09 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800111ReflowComments: true
Patrick Williams2405ae92023-05-10 07:50:09 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams8fe3a442023-10-20 11:18:04 -0500114SortIncludes: CaseSensitive
Vijay Khemkad1194022020-05-27 18:58:33 -0700115SortUsingDeclarations: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800116SpaceAfterCStyleCast: false
Vijay Khemkad1194022020-05-27 18:58:33 -0700117SpaceAfterTemplateKeyword: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800118SpaceBeforeAssignmentOperators: true
Vijay Khemkad1194022020-05-27 18:58:33 -0700119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800122SpaceBeforeParens: ControlStatements
Vijay Khemkad1194022020-05-27 18:58:33 -0700123SpaceBeforeRangeBasedForLoopColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams8fe3a442023-10-20 11:18:04 -0500126SpacesInAngles: Never
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williams2405ae92023-05-10 07:50:09 -0500131Standard: Latest
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800132TabWidth: 4
133UseTab: Never
134...
135