blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -07008AlignEscapedNewlines: Right
Patrick Williams8c051122023-05-10 07:50:59 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams8c051122023-05-10 07:50:59 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams8c051122023-05-10 07:50:59 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamse1dbb592023-10-20 11:19:22 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070019AllowShortLoopsOnASingleLine: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -070022AlwaysBreakTemplateDeclarations: Yes
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williamse1dbb592023-10-20 11:19:22 -050025BitFieldColonSpacing: None
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070026BraceWrapping:
Patrick Venturea83a3ec2020-08-04 09:52:05 -070027 AfterCaseLabel: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamse1dbb592023-10-20 11:19:22 -050031 AfterExternBlock: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamse1dbb592023-10-20 11:19:22 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070041 IndentBraces: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams8c051122023-05-10 07:50:59 -050045BreakAfterAttributes: Never
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Venturea83a3ec2020-08-04 09:52:05 -070050BreakInheritanceList: AfterColon
Patrick Williams8c051122023-05-10 07:50:59 -050051BreakStringLiterals: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Venturea83a3ec2020-08-04 09:52:05 -070054CompactNamespaces: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Patrick Venturee2ec0f62018-09-04 12:30:27 -070058DerivePointerAlignment: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070059DisableFormat: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070060FixNamespaceComments: true
Patrick Williamse1dbb592023-10-20 11:19:22 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Venturea83a3ec2020-08-04 09:52:05 -070068 Priority: 7
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Venturea83a3ec2020-08-04 09:52:05 -070071 - Regex: '^".*\.h"'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070072 Priority: 1
Patrick Venturea83a3ec2020-08-04 09:52:05 -070073 - Regex: '^".*\.hpp"'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070074 Priority: 2
Patrick Venturea83a3ec2020-08-04 09:52:05 -070075 - Regex: '^<.*\.h>'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070076 Priority: 3
Patrick Venturea83a3ec2020-08-04 09:52:05 -070077 - Regex: '^<.*\.hpp>'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070078 Priority: 4
Patrick Venturea83a3ec2020-08-04 09:52:05 -070079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070083IndentCaseLabels: true
Patrick Williamse1dbb592023-10-20 11:19:22 -050084IndentExternBlock: NoIndent
Patrick Williams8c051122023-05-10 07:50:59 -050085IndentRequiresClause: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams8c051122023-05-10 07:50:59 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamse1dbb592023-10-20 11:19:22 -050099PackConstructorInitializers: BinPack
Patrick Williams8c051122023-05-10 07:50:59 -0500100PenaltyBreakAssignment: 25
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams8c051122023-05-10 07:50:59 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamse1dbb592023-10-20 11:19:22 -0500108PointerAlignment: Left
Patrick Williams8c051122023-05-10 07:50:59 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700111ReflowComments: true
Patrick Williams8c051122023-05-10 07:50:59 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williamse1dbb592023-10-20 11:19:22 -0500114SortIncludes: CaseSensitive
Patrick Venturee2ec0f62018-09-04 12:30:27 -0700115SortUsingDeclarations: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700116SpaceAfterCStyleCast: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700117SpaceAfterTemplateKeyword: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700118SpaceBeforeAssignmentOperators: true
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700122SpaceBeforeParens: ControlStatements
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700123SpaceBeforeRangeBasedForLoopColon: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamse1dbb592023-10-20 11:19:22 -0500126SpacesInAngles: Never
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700131Standard: Latest
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700132TabWidth: 4
133UseTab: Never
134...
135