blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Vijay Khemka259c7f82020-07-08 15:02:15 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
Patrick Williams1226f202023-05-10 07:51:16 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Vijay Khemka259c7f82020-07-08 15:02:15 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams1226f202023-05-10 07:51:16 -050014AllowShortBlocksOnASingleLine: Empty
Vijay Khemka259c7f82020-07-08 15:02:15 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams1226f202023-05-10 07:51:16 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsae10c522023-10-20 11:19:44 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Vijay Khemka259c7f82020-07-08 15:02:15 -070019AllowShortLoopsOnASingleLine: false
20AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
22AlwaysBreakTemplateDeclarations: Yes
23BinPackArguments: true
24BinPackParameters: true
Patrick Williamsae10c522023-10-20 11:19:44 -050025BitFieldColonSpacing: None
Vijay Khemka259c7f82020-07-08 15:02:15 -070026BraceWrapping:
27 AfterCaseLabel: true
28 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamsae10c522023-10-20 11:19:44 -050031 AfterExternBlock: true
Vijay Khemka259c7f82020-07-08 15:02:15 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
Vijay Khemka259c7f82020-07-08 15:02:15 -070037 BeforeCatch: true
38 BeforeElse: true
Patrick Williamsae10c522023-10-20 11:19:44 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Vijay Khemka259c7f82020-07-08 15:02:15 -070041 IndentBraces: false
42 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams1226f202023-05-10 07:51:16 -050045BreakAfterAttributes: Never
Vijay Khemka259c7f82020-07-08 15:02:15 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
50BreakInheritanceList: AfterColon
Patrick Williams23448822021-08-26 09:08:56 -050051BreakStringLiterals: false
Vijay Khemka259c7f82020-07-08 15:02:15 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
54CompactNamespaces: false
Vijay Khemka259c7f82020-07-08 15:02:15 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Vijay Khemka259c7f82020-07-08 15:02:15 -070059DisableFormat: false
Vijay Khemka259c7f82020-07-08 15:02:15 -070060FixNamespaceComments: true
Patrick Williamsae10c522023-10-20 11:19:44 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Vijay Khemka259c7f82020-07-08 15:02:15 -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
83IndentCaseLabels: true
Patrick Williamsae10c522023-10-20 11:19:44 -050084IndentExternBlock: NoIndent
Patrick Williams1226f202023-05-10 07:51:16 -050085IndentRequiresClause: true
Vijay Khemka259c7f82020-07-08 15:02:15 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams1226f202023-05-10 07:51:16 -050088InsertNewlineAtEOF: true
George Liu26959662022-07-28 15:33:55 +080089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams1226f202023-05-10 07:51:16 -050090LambdaBodyIndentation: OuterScope
91LineEnding: LF
Vijay Khemka259c7f82020-07-08 15:02:15 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsae10c522023-10-20 11:19:44 -050099PackConstructorInitializers: BinPack
Patrick Williams1226f202023-05-10 07:51:16 -0500100PenaltyBreakAssignment: 25
Vijay Khemka259c7f82020-07-08 15:02:15 -0700101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams1226f202023-05-10 07:51:16 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamsae10c522023-10-20 11:19:44 -0500108PointerAlignment: Left
Patrick Williams1226f202023-05-10 07:51:16 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Vijay Khemka259c7f82020-07-08 15:02:15 -0700111ReflowComments: true
Patrick Williams1226f202023-05-10 07:51:16 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williamsae10c522023-10-20 11:19:44 -0500114SortIncludes: CaseSensitive
Vijay Khemka259c7f82020-07-08 15:02:15 -0700115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
117SpaceAfterTemplateKeyword: true
118SpaceBeforeAssignmentOperators: true
119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
122SpaceBeforeParens: ControlStatements
123SpaceBeforeRangeBasedForLoopColon: true
124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamsae10c522023-10-20 11:19:44 -0500126SpacesInAngles: Never
Vijay Khemka259c7f82020-07-08 15:02:15 -0700127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
131Standard: Latest
132TabWidth: 4
133UseTab: Never
134...
Patrick Williams1226f202023-05-10 07:51:16 -0500135