blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Andrew Jefferyda64f0a2018-09-06 10:41:01 +09301---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams0d5b0762023-05-10 07:50:28 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams0d5b0762023-05-10 07:50:28 -050014AllowShortBlocksOnASingleLine: Empty
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams0d5b0762023-05-10 07:50:28 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams564efae2023-10-20 11:18:41 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093019AllowShortLoopsOnASingleLine: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Williams0d5b0762023-05-10 07:50:28 -050022AlwaysBreakTemplateDeclarations: Yes
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093023BinPackArguments: true
24BinPackParameters: true
Patrick Williams564efae2023-10-20 11:18:41 -050025BitFieldColonSpacing: None
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093026BraceWrapping:
Patrick Williams0d5b0762023-05-10 07:50:28 -050027 AfterCaseLabel: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams564efae2023-10-20 11:18:41 -050031 AfterExternBlock: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams564efae2023-10-20 11:18:41 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093041 IndentBraces: false
Patrick Williams0d5b0762023-05-10 07:50:28 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
45BreakAfterAttributes: Never
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Williams0d5b0762023-05-10 07:50:28 -050050BreakInheritanceList: AfterColon
51BreakStringLiterals: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams0d5b0762023-05-10 07:50:28 -050054CompactNamespaces: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Patrick Venture5b355062018-10-31 14:42:42 -070058DerivePointerAlignment: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093059DisableFormat: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093060FixNamespaceComments: true
Patrick Williams564efae2023-10-20 11:18:41 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Williams0d5b0762023-05-10 07:50:28 -050068 Priority: 7
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Williams0d5b0762023-05-10 07:50:28 -050071 - Regex: '^".*\.h"'
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093072 Priority: 1
Patrick Williams0d5b0762023-05-10 07:50:28 -050073 - Regex: '^".*\.hpp"'
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093074 Priority: 2
Patrick Williams0d5b0762023-05-10 07:50:28 -050075 - Regex: '^<.*\.h>'
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093076 Priority: 3
Patrick Williams0d5b0762023-05-10 07:50:28 -050077 - Regex: '^<.*\.hpp>'
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093078 Priority: 4
Patrick Williams0d5b0762023-05-10 07:50:28 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093083IndentCaseLabels: true
Patrick Williams564efae2023-10-20 11:18:41 -050084IndentExternBlock: NoIndent
Patrick Williams0d5b0762023-05-10 07:50:28 -050085IndentRequiresClause: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams0d5b0762023-05-10 07:50:28 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams564efae2023-10-20 11:18:41 -050099PackConstructorInitializers: BinPack
Patrick Williams0d5b0762023-05-10 07:50:28 -0500100PenaltyBreakAssignment: 25
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams0d5b0762023-05-10 07:50:28 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams564efae2023-10-20 11:18:41 -0500108PointerAlignment: Left
Patrick Williams0d5b0762023-05-10 07:50:28 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930111ReflowComments: true
Patrick Williams0d5b0762023-05-10 07:50:28 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams564efae2023-10-20 11:18:41 -0500114SortIncludes: CaseSensitive
Patrick Venture5b355062018-10-31 14:42:42 -0700115SortUsingDeclarations: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930116SpaceAfterCStyleCast: false
Patrick Williams0d5b0762023-05-10 07:50:28 -0500117SpaceAfterTemplateKeyword: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930118SpaceBeforeAssignmentOperators: true
Patrick Williams0d5b0762023-05-10 07:50:28 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930122SpaceBeforeParens: ControlStatements
Patrick Williams0d5b0762023-05-10 07:50:28 -0500123SpaceBeforeRangeBasedForLoopColon: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams564efae2023-10-20 11:18:41 -0500126SpacesInAngles: Never
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williams0d5b0762023-05-10 07:50:28 -0500131Standard: Latest
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930132TabWidth: 4
133UseTab: Never
134...
135