blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
AppaRao Puli00840472018-10-03 19:37:46 +05301---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
AppaRao Puliee853eb2020-05-29 00:53:20 +05308AlignEscapedNewlines: Right
Patrick Williamsdfc72702023-05-10 07:51:18 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
AppaRao Puli00840472018-10-03 19:37:46 +053013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsdfc72702023-05-10 07:51:18 -050014AllowShortBlocksOnASingleLine: Empty
AppaRao Puli00840472018-10-03 19:37:46 +053015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsdfc72702023-05-10 07:51:18 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsd8effd62023-10-20 11:19:46 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
AppaRao Puli00840472018-10-03 19:37:46 +053019AllowShortLoopsOnASingleLine: false
AppaRao Puli00840472018-10-03 19:37:46 +053020AlwaysBreakBeforeMultilineStrings: false
AppaRao Puli00840472018-10-03 19:37:46 +053021BinPackArguments: true
22BinPackParameters: true
Patrick Williamsd8effd62023-10-20 11:19:46 -050023BitFieldColonSpacing: None
AppaRao Puli00840472018-10-03 19:37:46 +053024BraceWrapping:
AppaRao Puliee853eb2020-05-29 00:53:20 +053025 AfterCaseLabel: true
AppaRao Puli00840472018-10-03 19:37:46 +053026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamsd8effd62023-10-20 11:19:46 -050029 AfterExternBlock: true
AppaRao Puli00840472018-10-03 19:37:46 +053030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamsd8effd62023-10-20 11:19:46 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
AppaRao Puli00840472018-10-03 19:37:46 +053039 IndentBraces: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsdfc72702023-05-10 07:51:18 -050043BreakAfterAttributes: Never
Patrick Williamsb2811132024-12-18 11:22:18 -050044BreakAfterReturnType: Automatic
AppaRao Puli00840472018-10-03 19:37:46 +053045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
AppaRao Puliee853eb2020-05-29 00:53:20 +053049BreakInheritanceList: AfterColon
George Liufa5d5ca2021-12-07 11:00:14 +080050BreakStringLiterals: false
Patrick Williamsb2811132024-12-18 11:22:18 -050051BreakTemplateDeclarations: Yes
AppaRao Puli00840472018-10-03 19:37:46 +053052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
AppaRao Puliee853eb2020-05-29 00:53:20 +053054CompactNamespaces: false
AppaRao Puli00840472018-10-03 19:37:46 +053055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
AppaRao Puliee853eb2020-05-29 00:53:20 +053058DerivePointerAlignment: false
AppaRao Puli00840472018-10-03 19:37:46 +053059DisableFormat: false
AppaRao Puli00840472018-10-03 19:37:46 +053060FixNamespaceComments: true
Patrick Williamsd8effd62023-10-20 11:19:46 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
AppaRao Puliee853eb2020-05-29 00:53:20 +053065IncludeBlocks: 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
AppaRao Puli00840472018-10-03 19:37:46 +053083IndentCaseLabels: true
Patrick Williamsd8effd62023-10-20 11:19:46 -050084IndentExternBlock: NoIndent
Patrick Williamsdfc72702023-05-10 07:51:18 -050085IndentRequiresClause: true
AppaRao Puli00840472018-10-03 19:37:46 +053086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsdfc72702023-05-10 07:51:18 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsde879722024-08-16 15:21:46 -040090LambdaBodyIndentation: Signature
Patrick Williamsdfc72702023-05-10 07:51:18 -050091LineEnding: LF
AppaRao Puli00840472018-10-03 19:37:46 +053092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsd8effd62023-10-20 11:19:46 -050099PackConstructorInitializers: BinPack
Patrick Williamsdfc72702023-05-10 07:51:18 -0500100PenaltyBreakAssignment: 25
Patrick Williamsde879722024-08-16 15:21:46 -0400101PenaltyBreakBeforeFirstCallParameter: 50
AppaRao Puli00840472018-10-03 19:37:46 +0530102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsde879722024-08-16 15:21:46 -0400105PenaltyBreakTemplateDeclaration: 10
AppaRao Puli00840472018-10-03 19:37:46 +0530106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsde879722024-08-16 15:21:46 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsd8effd62023-10-20 11:19:46 -0500109PointerAlignment: Left
Patrick Williamsdfc72702023-05-10 07:51:18 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
AppaRao Puli00840472018-10-03 19:37:46 +0530112ReflowComments: true
Patrick Williamsdfc72702023-05-10 07:51:18 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsd8effd62023-10-20 11:19:46 -0500115SortIncludes: CaseSensitive
AppaRao Puliee853eb2020-05-29 00:53:20 +0530116SortUsingDeclarations: true
AppaRao Puli00840472018-10-03 19:37:46 +0530117SpaceAfterCStyleCast: false
AppaRao Puliee853eb2020-05-29 00:53:20 +0530118SpaceAfterTemplateKeyword: true
AppaRao Puli00840472018-10-03 19:37:46 +0530119SpaceBeforeAssignmentOperators: true
AppaRao Puliee853eb2020-05-29 00:53:20 +0530120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
AppaRao Puli00840472018-10-03 19:37:46 +0530123SpaceBeforeParens: ControlStatements
AppaRao Puliee853eb2020-05-29 00:53:20 +0530124SpaceBeforeRangeBasedForLoopColon: true
AppaRao Puli00840472018-10-03 19:37:46 +0530125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsd8effd62023-10-20 11:19:46 -0500127SpacesInAngles: Never
AppaRao Puli00840472018-10-03 19:37:46 +0530128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
George Liufa5d5ca2021-12-07 11:00:14 +0800132Standard: Latest
AppaRao Puli00840472018-10-03 19:37:46 +0530133TabWidth: 4
134UseTab: Never
135...
AppaRao Puliee853eb2020-05-29 00:53:20 +0530136