blob: e5530e6b6b094a2c67bbfb4416a3a6b05e7239be [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 +093020AlwaysBreakBeforeMultilineStrings: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093021BinPackArguments: true
22BinPackParameters: true
Patrick Williams564efae2023-10-20 11:18:41 -050023BitFieldColonSpacing: None
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093024BraceWrapping:
Patrick Williams0d5b0762023-05-10 07:50:28 -050025 AfterCaseLabel: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams564efae2023-10-20 11:18:41 -050029 AfterExternBlock: true
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams564efae2023-10-20 11:18:41 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093039 IndentBraces: false
Patrick Williams0d5b0762023-05-10 07:50:28 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
43BreakAfterAttributes: Never
Patrick Williamse3de9422024-12-18 11:20:46 -050044BreakAfterReturnType: Automatic
Andrew Jefferyda64f0a2018-09-06 10:41:01 +093045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Patrick Williams0d5b0762023-05-10 07:50:28 -050049BreakInheritanceList: AfterColon
50BreakStringLiterals: false
Patrick Williamse3de9422024-12-18 11:20:46 -050051BreakTemplateDeclarations: Yes
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
Patrick Williams40086012025-02-01 08:22:03 -0500107PenaltyReturnTypeOnItsOwnLine: 150
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