blob: e5530e6b6b094a2c67bbfb4416a3a6b05e7239be [file] [log] [blame]
Patrick Venture123b5c02019-03-05 14:01:00 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Venture60edc612020-06-24 15:06:41 -07008AlignEscapedNewlines: Right
Patrick Williamsc99b19f2023-05-10 07:51:10 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture123b5c02019-03-05 14:01:00 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsc99b19f2023-05-10 07:51:10 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture123b5c02019-03-05 14:01:00 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsc99b19f2023-05-10 07:51:10 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsff2d30f2023-10-20 11:19:37 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venture123b5c02019-03-05 14:01:00 -080019AllowShortLoopsOnASingleLine: false
Patrick Venture123b5c02019-03-05 14:01:00 -080020AlwaysBreakBeforeMultilineStrings: false
Patrick Venture123b5c02019-03-05 14:01:00 -080021BinPackArguments: true
22BinPackParameters: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050023BitFieldColonSpacing: None
Patrick Venture123b5c02019-03-05 14:01:00 -080024BraceWrapping:
Patrick Venture60edc612020-06-24 15:06:41 -070025 AfterCaseLabel: true
Patrick Venture123b5c02019-03-05 14:01:00 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050029 AfterExternBlock: true
Patrick Venture123b5c02019-03-05 14:01:00 -080030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venture123b5c02019-03-05 14:01:00 -080039 IndentBraces: false
Patrick Venture60edc612020-06-24 15:06:41 -070040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsc99b19f2023-05-10 07:51:10 -050043BreakAfterAttributes: Never
Patrick Williams28029482024-12-18 11:22:03 -050044BreakAfterReturnType: Automatic
Patrick Venture123b5c02019-03-05 14:01:00 -080045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Patrick Venture60edc612020-06-24 15:06:41 -070049BreakInheritanceList: AfterColon
Brandon Kimd3c06f92022-07-20 17:36:53 +000050BreakStringLiterals: false
Patrick Williams28029482024-12-18 11:22:03 -050051BreakTemplateDeclarations: Yes
Patrick Venture123b5c02019-03-05 14:01:00 -080052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Venture60edc612020-06-24 15:06:41 -070054CompactNamespaces: false
Patrick Venture123b5c02019-03-05 14:01:00 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venture123b5c02019-03-05 14:01:00 -080059DisableFormat: false
Patrick Venture123b5c02019-03-05 14:01:00 -080060FixNamespaceComments: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture123b5c02019-03-05 14:01:00 -080065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Venture60edc612020-06-24 15:06:41 -070068 Priority: 7
Patrick Venture123b5c02019-03-05 14:01:00 -080069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Venture60edc612020-06-24 15:06:41 -070071 - Regex: '^".*\.h"'
Patrick Venture123b5c02019-03-05 14:01:00 -080072 Priority: 1
Patrick Venture60edc612020-06-24 15:06:41 -070073 - Regex: '^".*\.hpp"'
Patrick Venture123b5c02019-03-05 14:01:00 -080074 Priority: 2
Patrick Venture60edc612020-06-24 15:06:41 -070075 - Regex: '^<.*\.h>'
Patrick Venture123b5c02019-03-05 14:01:00 -080076 Priority: 3
Patrick Venture60edc612020-06-24 15:06:41 -070077 - Regex: '^<.*\.hpp>'
Patrick Venture123b5c02019-03-05 14:01:00 -080078 Priority: 4
Patrick Venture60edc612020-06-24 15:06:41 -070079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venture123b5c02019-03-05 14:01:00 -080083IndentCaseLabels: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050084IndentExternBlock: NoIndent
Patrick Williamsc99b19f2023-05-10 07:51:10 -050085IndentRequiresClause: true
Patrick Venture123b5c02019-03-05 14:01:00 -080086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsc99b19f2023-05-10 07:51:10 -050088InsertNewlineAtEOF: true
Brandon Kimd3c06f92022-07-20 17:36:53 +000089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsb80a0252024-08-16 15:21:31 -040090LambdaBodyIndentation: Signature
Patrick Williamsc99b19f2023-05-10 07:51:10 -050091LineEnding: LF
Patrick Venture123b5c02019-03-05 14:01:00 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050099PackConstructorInitializers: BinPack
Patrick Williamsc99b19f2023-05-10 07:51:10 -0500100PenaltyBreakAssignment: 25
Patrick Williamsb80a0252024-08-16 15:21:31 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venture123b5c02019-03-05 14:01:00 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsb80a0252024-08-16 15:21:31 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venture123b5c02019-03-05 14:01:00 -0800106PenaltyExcessCharacter: 1000000
Patrick Williamsd9309ef2025-02-01 08:23:03 -0500107PenaltyReturnTypeOnItsOwnLine: 150
Patrick Williamsb80a0252024-08-16 15:21:31 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsff2d30f2023-10-20 11:19:37 -0500109PointerAlignment: Left
Patrick Williamsc99b19f2023-05-10 07:51:10 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venture123b5c02019-03-05 14:01:00 -0800112ReflowComments: true
Patrick Williamsc99b19f2023-05-10 07:51:10 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsff2d30f2023-10-20 11:19:37 -0500115SortIncludes: CaseSensitive
Patrick Venture123b5c02019-03-05 14:01:00 -0800116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Patrick Venture60edc612020-06-24 15:06:41 -0700118SpaceAfterTemplateKeyword: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800119SpaceBeforeAssignmentOperators: true
Patrick Venture60edc612020-06-24 15:06:41 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800123SpaceBeforeParens: ControlStatements
Patrick Venture60edc612020-06-24 15:06:41 -0700124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsff2d30f2023-10-20 11:19:37 -0500127SpacesInAngles: Never
Patrick Venture123b5c02019-03-05 14:01:00 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Venture60edc612020-06-24 15:06:41 -0700132Standard: Latest
Patrick Venture123b5c02019-03-05 14:01:00 -0800133TabWidth: 4
Patrick Venture123b5c02019-03-05 14:01:00 -0800134UseTab: Never
135...
136