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