blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Patrick Venturef18bf832018-10-26 18:14:00 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams2544b412022-10-04 08:41:06 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
Patrick Williamsac1ba3f2023-05-10 07:50:16 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venturef18bf832018-10-26 18:14:00 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2544b412022-10-04 08:41:06 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venturef18bf832018-10-26 18:14:00 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams2544b412022-10-04 08:41:06 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams5fb575a2023-10-20 11:18:21 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venturef18bf832018-10-26 18:14:00 -070019AllowShortLoopsOnASingleLine: false
Patrick Venturef18bf832018-10-26 18:14:00 -070020AlwaysBreakBeforeMultilineStrings: false
Patrick Venturef18bf832018-10-26 18:14:00 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williams5fb575a2023-10-20 11:18:21 -050023BitFieldColonSpacing: None
Patrick Venturef18bf832018-10-26 18:14:00 -070024BraceWrapping:
Matt Spinler18f4b6e2020-05-21 11:36:24 -050025 AfterCaseLabel: true
Patrick Venturef18bf832018-10-26 18:14:00 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams5fb575a2023-10-20 11:18:21 -050029 AfterExternBlock: true
Patrick Venturef18bf832018-10-26 18:14:00 -070030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams5fb575a2023-10-20 11:18:21 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venturef18bf832018-10-26 18:14:00 -070039 IndentBraces: false
Patrick Williams2544b412022-10-04 08:41:06 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsac1ba3f2023-05-10 07:50:16 -050043BreakAfterAttributes: Never
Patrick Williamsb6d3e2f2024-12-18 11:20:17 -050044BreakAfterReturnType: Automatic
Patrick Venturef18bf832018-10-26 18:14:00 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Patrick Williams2544b412022-10-04 08:41:06 -050049BreakInheritanceList: AfterColon
50BreakStringLiterals: false
Patrick Williamsb6d3e2f2024-12-18 11:20:17 -050051BreakTemplateDeclarations: Yes
Patrick Venturef18bf832018-10-26 18:14:00 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams2544b412022-10-04 08:41:06 -050054CompactNamespaces: false
Patrick Venturef18bf832018-10-26 18:14:00 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venturef18bf832018-10-26 18:14:00 -070059DisableFormat: false
Patrick Venturef18bf832018-10-26 18:14:00 -070060FixNamespaceComments: true
Patrick Williams5fb575a2023-10-20 11:18:21 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venturef18bf832018-10-26 18:14:00 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Williams2544b412022-10-04 08:41:06 -050068 Priority: 7
Patrick Venturef18bf832018-10-26 18:14:00 -070069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Williams2544b412022-10-04 08:41:06 -050071 - Regex: '^".*\.h"'
Patrick Venturef18bf832018-10-26 18:14:00 -070072 Priority: 1
Patrick Williams2544b412022-10-04 08:41:06 -050073 - Regex: '^".*\.hpp"'
Patrick Venturef18bf832018-10-26 18:14:00 -070074 Priority: 2
Patrick Williams2544b412022-10-04 08:41:06 -050075 - Regex: '^<.*\.h>'
Patrick Venturef18bf832018-10-26 18:14:00 -070076 Priority: 3
Patrick Williams2544b412022-10-04 08:41:06 -050077 - Regex: '^<.*\.hpp>'
Patrick Venturef18bf832018-10-26 18:14:00 -070078 Priority: 4
Patrick Williams2544b412022-10-04 08:41:06 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venturef18bf832018-10-26 18:14:00 -070083IndentCaseLabels: true
Patrick Williams5fb575a2023-10-20 11:18:21 -050084IndentExternBlock: NoIndent
Patrick Williams2544b412022-10-04 08:41:06 -050085IndentRequiresClause: true
Patrick Venturef18bf832018-10-26 18:14:00 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsac1ba3f2023-05-10 07:50:16 -050088InsertNewlineAtEOF: true
Patrick Williams2544b412022-10-04 08:41:06 -050089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams075c7922024-08-16 15:19:49 -040090LambdaBodyIndentation: Signature
Patrick Williamsac1ba3f2023-05-10 07:50:16 -050091LineEnding: LF
Patrick Venturef18bf832018-10-26 18:14:00 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams5fb575a2023-10-20 11:18:21 -050099PackConstructorInitializers: BinPack
Patrick Williams2544b412022-10-04 08:41:06 -0500100PenaltyBreakAssignment: 25
Patrick Williams075c7922024-08-16 15:19:49 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venturef18bf832018-10-26 18:14:00 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams075c7922024-08-16 15:19:49 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venturef18bf832018-10-26 18:14:00 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams075c7922024-08-16 15:19:49 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams5fb575a2023-10-20 11:18:21 -0500109PointerAlignment: Left
Patrick Williams2544b412022-10-04 08:41:06 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venturef18bf832018-10-26 18:14:00 -0700112ReflowComments: true
Patrick Williams2544b412022-10-04 08:41:06 -0500113RequiresClausePosition: OwnLine
Patrick Williamsac1ba3f2023-05-10 07:50:16 -0500114RequiresExpressionIndentation: Keyword
Patrick Williams5fb575a2023-10-20 11:18:21 -0500115SortIncludes: CaseSensitive
Patrick Venturef18bf832018-10-26 18:14:00 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Patrick Williams2544b412022-10-04 08:41:06 -0500118SpaceAfterTemplateKeyword: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700119SpaceBeforeAssignmentOperators: true
Patrick Williams2544b412022-10-04 08:41:06 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700123SpaceBeforeParens: ControlStatements
Patrick Williams2544b412022-10-04 08:41:06 -0500124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams5fb575a2023-10-20 11:18:21 -0500127SpacesInAngles: Never
Patrick Venturef18bf832018-10-26 18:14:00 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams2544b412022-10-04 08:41:06 -0500132Standard: Latest
Patrick Venturef18bf832018-10-26 18:14:00 -0700133TabWidth: 4
Patrick Venturef18bf832018-10-26 18:14:00 -0700134UseTab: Never
135...
136