blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Jayanth Othayothb618ccb2018-10-22 21:55:29 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Jayanth Othayothc0449582021-04-08 02:52:27 -05008AlignEscapedNewlines: Right
Patrick Williamsa9779c42023-05-10 07:50:20 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsa9779c42023-05-10 07:50:20 -050014AllowShortBlocksOnASingleLine: Empty
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsa9779c42023-05-10 07:50:20 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams20f03eb2023-10-20 11:18:29 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050019AllowShortLoopsOnASingleLine: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Jayanth Othayothc0449582021-04-08 02:52:27 -050022AlwaysBreakTemplateDeclarations: Yes
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050023BinPackArguments: true
24BinPackParameters: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050025BitFieldColonSpacing: None
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050026BraceWrapping:
Jayanth Othayothc0449582021-04-08 02:52:27 -050027 AfterCaseLabel: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050031 AfterExternBlock: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050041 IndentBraces: false
Jayanth Othayothc0449582021-04-08 02:52:27 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsa9779c42023-05-10 07:50:20 -050045BreakAfterAttributes: Never
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Jayanth Othayothc0449582021-04-08 02:52:27 -050050BreakInheritanceList: AfterColon
Patrick Williamsa9779c42023-05-10 07:50:20 -050051BreakStringLiterals: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Jayanth Othayothc0449582021-04-08 02:52:27 -050054CompactNamespaces: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050059DisableFormat: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050060FixNamespaceComments: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Jayanth Othayothc0449582021-04-08 02:52:27 -050068 Priority: 7
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050069 - Regex: '^"config.h"'
70 Priority: -1
Jayanth Othayothc0449582021-04-08 02:52:27 -050071 - Regex: '^".*\.h"'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050072 Priority: 1
Jayanth Othayothc0449582021-04-08 02:52:27 -050073 - Regex: '^".*\.hpp"'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050074 Priority: 2
Jayanth Othayothc0449582021-04-08 02:52:27 -050075 - Regex: '^<.*\.h>'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050076 Priority: 3
Jayanth Othayothc0449582021-04-08 02:52:27 -050077 - Regex: '^<.*\.hpp>'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050078 Priority: 4
Jayanth Othayothc0449582021-04-08 02:52:27 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050083IndentCaseLabels: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050084IndentExternBlock: NoIndent
Patrick Williamsa9779c42023-05-10 07:50:20 -050085IndentRequiresClause: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsa9779c42023-05-10 07:50:20 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050099PackConstructorInitializers: BinPack
Patrick Williamsa9779c42023-05-10 07:50:20 -0500100PenaltyBreakAssignment: 25
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsa9779c42023-05-10 07:50:20 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams20f03eb2023-10-20 11:18:29 -0500108PointerAlignment: Left
Patrick Williamsa9779c42023-05-10 07:50:20 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500111ReflowComments: true
Patrick Williamsa9779c42023-05-10 07:50:20 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams20f03eb2023-10-20 11:18:29 -0500114SortIncludes: CaseSensitive
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
Jayanth Othayothc0449582021-04-08 02:52:27 -0500117SpaceAfterTemplateKeyword: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500118SpaceBeforeAssignmentOperators: true
Jayanth Othayothc0449582021-04-08 02:52:27 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500122SpaceBeforeParens: ControlStatements
Jayanth Othayothc0449582021-04-08 02:52:27 -0500123SpaceBeforeRangeBasedForLoopColon: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams20f03eb2023-10-20 11:18:29 -0500126SpacesInAngles: Never
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Jayanth Othayothc0449582021-04-08 02:52:27 -0500131Standard: Latest
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500132TabWidth: 4
133UseTab: Never
134...
135