blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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 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
107PenaltyReturnTypeOnItsOwnLine: 60
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