blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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
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