blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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
Patrick Williams40a2afb2024-08-16 15:20:18 -040090LambdaBodyIndentation: Signature
Patrick Williams0d5b0762023-05-10 07:50:28 -050091LineEnding: 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
Patrick Williams40a2afb2024-08-16 15:20:18 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams40a2afb2024-08-16 15:20:18 -0400105PenaltyBreakTemplateDeclaration: 10
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams40a2afb2024-08-16 15:20:18 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams564efae2023-10-20 11:18:41 -0500109PointerAlignment: Left
Patrick Williams0d5b0762023-05-10 07:50:28 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930112ReflowComments: true
Patrick Williams0d5b0762023-05-10 07:50:28 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams564efae2023-10-20 11:18:41 -0500115SortIncludes: CaseSensitive
Patrick Venture5b355062018-10-31 14:42:42 -0700116SortUsingDeclarations: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930117SpaceAfterCStyleCast: false
Patrick Williams0d5b0762023-05-10 07:50:28 -0500118SpaceAfterTemplateKeyword: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930119SpaceBeforeAssignmentOperators: true
Patrick Williams0d5b0762023-05-10 07:50:28 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930123SpaceBeforeParens: ControlStatements
Patrick Williams0d5b0762023-05-10 07:50:28 -0500124SpaceBeforeRangeBasedForLoopColon: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams564efae2023-10-20 11:18:41 -0500127SpacesInAngles: Never
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams0d5b0762023-05-10 07:50:28 -0500132Standard: Latest
Andrew Jefferyda64f0a2018-09-06 10:41:01 +0930133TabWidth: 4
134UseTab: Never
135...
136