blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [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 -080020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Venture60edc612020-06-24 15:06:41 -070022AlwaysBreakTemplateDeclarations: Yes
Patrick Venture123b5c02019-03-05 14:01:00 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050025BitFieldColonSpacing: None
Patrick Venture123b5c02019-03-05 14:01:00 -080026BraceWrapping:
Patrick Venture60edc612020-06-24 15:06:41 -070027 AfterCaseLabel: true
Patrick Venture123b5c02019-03-05 14:01:00 -080028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050031 AfterExternBlock: true
Patrick Venture123b5c02019-03-05 14:01:00 -080032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamsff2d30f2023-10-20 11:19:37 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Patrick Venture123b5c02019-03-05 14:01:00 -080041 IndentBraces: false
Patrick Venture60edc612020-06-24 15:06:41 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsc99b19f2023-05-10 07:51:10 -050045BreakAfterAttributes: Never
Patrick Venture123b5c02019-03-05 14:01:00 -080046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Venture60edc612020-06-24 15:06:41 -070050BreakInheritanceList: AfterColon
Brandon Kimd3c06f92022-07-20 17:36:53 +000051BreakStringLiterals: false
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 Williamsc99b19f2023-05-10 07:51:10 -050090LambdaBodyIndentation: OuterScope
91LineEnding: 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 Venture123b5c02019-03-05 14:01:00 -0800101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsc99b19f2023-05-10 07:51:10 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamsff2d30f2023-10-20 11:19:37 -0500108PointerAlignment: Left
Patrick Williamsc99b19f2023-05-10 07:51:10 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Patrick Venture123b5c02019-03-05 14:01:00 -0800111ReflowComments: true
Patrick Williamsc99b19f2023-05-10 07:51:10 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williamsff2d30f2023-10-20 11:19:37 -0500114SortIncludes: CaseSensitive
Patrick Venture123b5c02019-03-05 14:01:00 -0800115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
Patrick Venture60edc612020-06-24 15:06:41 -0700117SpaceAfterTemplateKeyword: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800118SpaceBeforeAssignmentOperators: true
Patrick Venture60edc612020-06-24 15:06:41 -0700119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800122SpaceBeforeParens: ControlStatements
Patrick Venture60edc612020-06-24 15:06:41 -0700123SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamsff2d30f2023-10-20 11:19:37 -0500126SpacesInAngles: Never
Patrick Venture123b5c02019-03-05 14:01:00 -0800127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Venture60edc612020-06-24 15:06:41 -0700131Standard: Latest
Patrick Venture123b5c02019-03-05 14:01:00 -0800132TabWidth: 4
Patrick Venture123b5c02019-03-05 14:01:00 -0800133UseTab: Never
134...
135