blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [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 -050020AlwaysBreakBeforeMultilineStrings: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050021BinPackArguments: true
22BinPackParameters: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050023BitFieldColonSpacing: None
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050024BraceWrapping:
Jayanth Othayothc0449582021-04-08 02:52:27 -050025 AfterCaseLabel: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050029 AfterExternBlock: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams20f03eb2023-10-20 11:18:29 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050039 IndentBraces: false
Jayanth Othayothc0449582021-04-08 02:52:27 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsa9779c42023-05-10 07:50:20 -050043BreakAfterAttributes: Never
Patrick Williams0c157972024-12-18 11:20:27 -050044BreakAfterReturnType: Automatic
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Jayanth Othayothc0449582021-04-08 02:52:27 -050049BreakInheritanceList: AfterColon
Patrick Williamsa9779c42023-05-10 07:50:20 -050050BreakStringLiterals: false
Patrick Williams0c157972024-12-18 11:20:27 -050051BreakTemplateDeclarations: Yes
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
Patrick Williams540521e2024-08-16 15:20:03 -040090LambdaBodyIndentation: Signature
Patrick Williamsa9779c42023-05-10 07:50:20 -050091LineEnding: 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
Patrick Williams540521e2024-08-16 15:20:03 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams540521e2024-08-16 15:20:03 -0400105PenaltyBreakTemplateDeclaration: 10
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams540521e2024-08-16 15:20:03 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams20f03eb2023-10-20 11:18:29 -0500109PointerAlignment: Left
Patrick Williamsa9779c42023-05-10 07:50:20 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500112ReflowComments: true
Patrick Williamsa9779c42023-05-10 07:50:20 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams20f03eb2023-10-20 11:18:29 -0500115SortIncludes: CaseSensitive
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Jayanth Othayothc0449582021-04-08 02:52:27 -0500118SpaceAfterTemplateKeyword: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500119SpaceBeforeAssignmentOperators: true
Jayanth Othayothc0449582021-04-08 02:52:27 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500123SpaceBeforeParens: ControlStatements
Jayanth Othayothc0449582021-04-08 02:52:27 -0500124SpaceBeforeRangeBasedForLoopColon: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams20f03eb2023-10-20 11:18:29 -0500127SpacesInAngles: Never
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Jayanth Othayothc0449582021-04-08 02:52:27 -0500132Standard: Latest
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500133TabWidth: 4
134UseTab: Never
135...
136