blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [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 +053020AlwaysBreakBeforeMultilineStrings: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053021BinPackArguments: true
22BinPackParameters: true
Patrick Williams717fdc42023-10-20 11:18:48 -050023BitFieldColonSpacing: None
Ratan Guptaaaf87de2018-04-16 15:25:13 +053024BraceWrapping:
Patrick Williams1334b7b2021-02-22 17:15:12 -060025 AfterCaseLabel: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams717fdc42023-10-20 11:18:48 -050029 AfterExternBlock: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams717fdc42023-10-20 11:18:48 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053039 IndentBraces: false
Patrick Williams1334b7b2021-02-22 17:15:12 -060040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsedd70822023-05-10 07:50:33 -050043BreakAfterAttributes: Never
Patrick Williams76ede762024-12-18 11:20:54 -050044BreakAfterReturnType: Automatic
Ratan Guptaaaf87de2018-04-16 15:25:13 +053045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Patrick Williams1334b7b2021-02-22 17:15:12 -060049BreakInheritanceList: AfterColon
George Liuf87999d2022-05-10 13:53:58 +080050BreakStringLiterals: false
Patrick Williams76ede762024-12-18 11:20:54 -050051BreakTemplateDeclarations: Yes
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
Patrick Williams9fa30b92024-08-16 15:20:25 -040090LambdaBodyIndentation: Signature
Patrick Williamsedd70822023-05-10 07:50:33 -050091LineEnding: 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
Patrick Williams9fa30b92024-08-16 15:20:25 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams9fa30b92024-08-16 15:20:25 -0400105PenaltyBreakTemplateDeclaration: 10
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams9fa30b92024-08-16 15:20:25 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams717fdc42023-10-20 11:18:48 -0500109PointerAlignment: Left
Patrick Williamsedd70822023-05-10 07:50:33 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530112ReflowComments: true
Patrick Williamsedd70822023-05-10 07:50:33 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams717fdc42023-10-20 11:18:48 -0500115SortIncludes: CaseSensitive
Patrick Williams1334b7b2021-02-22 17:15:12 -0600116SortUsingDeclarations: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530117SpaceAfterCStyleCast: false
Patrick Williams1334b7b2021-02-22 17:15:12 -0600118SpaceAfterTemplateKeyword: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530119SpaceBeforeAssignmentOperators: true
Patrick Williams1334b7b2021-02-22 17:15:12 -0600120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530123SpaceBeforeParens: ControlStatements
Patrick Williams1334b7b2021-02-22 17:15:12 -0600124SpaceBeforeRangeBasedForLoopColon: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams717fdc42023-10-20 11:18:48 -0500127SpacesInAngles: Never
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams1334b7b2021-02-22 17:15:12 -0600132Standard: Latest
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530133TabWidth: 4
134UseTab: Never
135...
Patrick Williamsedd70822023-05-10 07:50:33 -0500136