blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Ratan Guptaaaf87de2018-04-16 15:25:13 +05301---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams1334b7b2021-02-22 17:15:12 -06008AlignEscapedNewlines: Right
Patrick Williamsedd70822023-05-10 07:50:33 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Ratan Guptaaaf87de2018-04-16 15:25:13 +053013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsedd70822023-05-10 07:50:33 -050014AllowShortBlocksOnASingleLine: Empty
Ratan Guptaaaf87de2018-04-16 15:25:13 +053015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsedd70822023-05-10 07:50:33 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams717fdc42023-10-20 11:18:48 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053019AllowShortLoopsOnASingleLine: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Williams1334b7b2021-02-22 17:15:12 -060022AlwaysBreakTemplateDeclarations: Yes
Ratan Guptaaaf87de2018-04-16 15:25:13 +053023BinPackArguments: true
24BinPackParameters: true
Patrick Williams717fdc42023-10-20 11:18:48 -050025BitFieldColonSpacing: None
Ratan Guptaaaf87de2018-04-16 15:25:13 +053026BraceWrapping:
Patrick Williams1334b7b2021-02-22 17:15:12 -060027 AfterCaseLabel: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams717fdc42023-10-20 11:18:48 -050031 AfterExternBlock: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams717fdc42023-10-20 11:18:48 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053041 IndentBraces: false
Patrick Williams1334b7b2021-02-22 17:15:12 -060042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsedd70822023-05-10 07:50:33 -050045BreakAfterAttributes: Never
Ratan Guptaaaf87de2018-04-16 15:25:13 +053046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Williams1334b7b2021-02-22 17:15:12 -060050BreakInheritanceList: AfterColon
George Liuf87999d2022-05-10 13:53:58 +080051BreakStringLiterals: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams1334b7b2021-02-22 17:15:12 -060054CompactNamespaces: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Patrick Williams1334b7b2021-02-22 17:15:12 -060058DerivePointerAlignment: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053059DisableFormat: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053060FixNamespaceComments: true
Patrick Williams717fdc42023-10-20 11:18:48 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Williams1334b7b2021-02-22 17:15:12 -060065IncludeBlocks: 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
Ratan Guptaaaf87de2018-04-16 15:25:13 +053083IndentCaseLabels: true
Patrick Williams717fdc42023-10-20 11:18:48 -050084IndentExternBlock: NoIndent
Patrick Williamsedd70822023-05-10 07:50:33 -050085IndentRequiresClause: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsedd70822023-05-10 07:50:33 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Ratan Guptaaaf87de2018-04-16 15:25:13 +053092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams717fdc42023-10-20 11:18:48 -050099PackConstructorInitializers: BinPack
Patrick Williamsedd70822023-05-10 07:50:33 -0500100PenaltyBreakAssignment: 25
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsedd70822023-05-10 07:50:33 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams717fdc42023-10-20 11:18:48 -0500108PointerAlignment: Left
Patrick Williamsedd70822023-05-10 07:50:33 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530111ReflowComments: true
Patrick Williamsedd70822023-05-10 07:50:33 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams717fdc42023-10-20 11:18:48 -0500114SortIncludes: CaseSensitive
Patrick Williams1334b7b2021-02-22 17:15:12 -0600115SortUsingDeclarations: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530116SpaceAfterCStyleCast: false
Patrick Williams1334b7b2021-02-22 17:15:12 -0600117SpaceAfterTemplateKeyword: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530118SpaceBeforeAssignmentOperators: true
Patrick Williams1334b7b2021-02-22 17:15:12 -0600119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530122SpaceBeforeParens: ControlStatements
Patrick Williams1334b7b2021-02-22 17:15:12 -0600123SpaceBeforeRangeBasedForLoopColon: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams717fdc42023-10-20 11:18:48 -0500126SpacesInAngles: Never
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williams1334b7b2021-02-22 17:15:12 -0600131Standard: Latest
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530132TabWidth: 4
133UseTab: Never
134...
Patrick Williamsedd70822023-05-10 07:50:33 -0500135