blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Brandon Kim638384c2022-05-10 14:09:48 -07001---
Patrick Williamsb8125762023-05-10 07:51:26 -05002Language: Cpp
Brandon Kim638384c2022-05-10 14:09:48 -07003# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
Patrick Williamsb8125762023-05-10 07:51:26 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Brandon Kim638384c2022-05-10 14:09:48 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsb8125762023-05-10 07:51:26 -050014AllowShortBlocksOnASingleLine: Empty
Brandon Kim638384c2022-05-10 14:09:48 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsb8125762023-05-10 07:51:26 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams589c1752023-10-20 11:20:01 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Brandon Kim638384c2022-05-10 14:09:48 -070019AllowShortLoopsOnASingleLine: false
Brandon Kim638384c2022-05-10 14:09:48 -070020AlwaysBreakBeforeMultilineStrings: false
Brandon Kim638384c2022-05-10 14:09:48 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williams589c1752023-10-20 11:20:01 -050023BitFieldColonSpacing: None
Brandon Kim638384c2022-05-10 14:09:48 -070024BraceWrapping:
Patrick Williamsb8125762023-05-10 07:51:26 -050025 AfterCaseLabel: true
26 AfterClass: true
Brandon Kim638384c2022-05-10 14:09:48 -070027 AfterControlStatement: true
Patrick Williamsb8125762023-05-10 07:51:26 -050028 AfterEnum: true
Patrick Williams589c1752023-10-20 11:20:01 -050029 AfterExternBlock: true
Patrick Williamsb8125762023-05-10 07:51:26 -050030 AfterFunction: true
31 AfterNamespace: true
Brandon Kim638384c2022-05-10 14:09:48 -070032 AfterObjCDeclaration: true
Patrick Williamsb8125762023-05-10 07:51:26 -050033 AfterStruct: true
34 AfterUnion: true
Patrick Williamsb8125762023-05-10 07:51:26 -050035 BeforeCatch: true
36 BeforeElse: true
Patrick Williams589c1752023-10-20 11:20:01 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Williamsb8125762023-05-10 07:51:26 -050039 IndentBraces: false
40 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
43BreakAfterAttributes: Never
Patrick Williamsc20d1212024-12-18 11:22:36 -050044BreakAfterReturnType: Automatic
Brandon Kim638384c2022-05-10 14:09:48 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
49BreakInheritanceList: AfterColon
50BreakStringLiterals: false
Patrick Williamsc20d1212024-12-18 11:22:36 -050051BreakTemplateDeclarations: Yes
Patrick Williamsb8125762023-05-10 07:51:26 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Brandon Kim638384c2022-05-10 14:09:48 -070054CompactNamespaces: false
Brandon Kim638384c2022-05-10 14:09:48 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Brandon Kim638384c2022-05-10 14:09:48 -070058DerivePointerAlignment: false
Patrick Williamsb8125762023-05-10 07:51:26 -050059DisableFormat: false
Brandon Kim638384c2022-05-10 14:09:48 -070060FixNamespaceComments: true
Patrick Williams589c1752023-10-20 11:20:01 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Brandon Kim638384c2022-05-10 14:09:48 -070065IncludeBlocks: Regroup
66IncludeCategories:
Patrick Williamsb8125762023-05-10 07:51:26 -050067 - 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
Brandon Kim638384c2022-05-10 14:09:48 -070083IndentCaseLabels: true
Patrick Williams589c1752023-10-20 11:20:01 -050084IndentExternBlock: NoIndent
Patrick Williamsb8125762023-05-10 07:51:26 -050085IndentRequiresClause: true
86IndentWidth: 4
Brandon Kim638384c2022-05-10 14:09:48 -070087IndentWrappedFunctionNames: true
Patrick Williamsb8125762023-05-10 07:51:26 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams1a643562024-08-16 15:22:05 -040090LambdaBodyIndentation: Signature
Patrick Williamsb8125762023-05-10 07:51:26 -050091LineEnding: LF
92MacroBlockBegin: ''
93MacroBlockEnd: ''
Brandon Kim638384c2022-05-10 14:09:48 -070094MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams589c1752023-10-20 11:20:01 -050099PackConstructorInitializers: BinPack
Patrick Williamsb8125762023-05-10 07:51:26 -0500100PenaltyBreakAssignment: 25
Patrick Williams1a643562024-08-16 15:22:05 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Brandon Kim638384c2022-05-10 14:09:48 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams1a643562024-08-16 15:22:05 -0400105PenaltyBreakTemplateDeclaration: 10
Brandon Kim638384c2022-05-10 14:09:48 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams1a643562024-08-16 15:22:05 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams589c1752023-10-20 11:20:01 -0500109PointerAlignment: Left
Patrick Williamsb8125762023-05-10 07:51:26 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
112ReflowComments: true
113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams589c1752023-10-20 11:20:01 -0500115SortIncludes: CaseSensitive
Brandon Kim638384c2022-05-10 14:09:48 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
118SpaceAfterTemplateKeyword: true
119SpaceBeforeAssignmentOperators: true
120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
123SpaceBeforeParens: ControlStatements
124SpaceBeforeRangeBasedForLoopColon: true
125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams589c1752023-10-20 11:20:01 -0500127SpacesInAngles: Never
Brandon Kim638384c2022-05-10 14:09:48 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williamsb8125762023-05-10 07:51:26 -0500132Standard: Latest
133TabWidth: 4
134UseTab: Never
135...
136