blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Gunnar Mills94df8c92018-09-14 14:50:03 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liub5ca1012021-09-10 12:53:11 +08008AlignEscapedNewlines: Right
Patrick Williamsa49c9872023-05-10 07:50:35 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Gunnar Mills94df8c92018-09-14 14:50:03 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsa49c9872023-05-10 07:50:35 -050014AllowShortBlocksOnASingleLine: Empty
Gunnar Mills94df8c92018-09-14 14:50:03 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsa49c9872023-05-10 07:50:35 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsc831dd82023-10-20 11:18:51 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050019AllowShortLoopsOnASingleLine: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
George Liub5ca1012021-09-10 12:53:11 +080022AlwaysBreakTemplateDeclarations: Yes
Gunnar Mills94df8c92018-09-14 14:50:03 -050023BinPackArguments: true
24BinPackParameters: true
Patrick Williamsc831dd82023-10-20 11:18:51 -050025BitFieldColonSpacing: None
Gunnar Mills94df8c92018-09-14 14:50:03 -050026BraceWrapping:
George Liub5ca1012021-09-10 12:53:11 +080027 AfterCaseLabel: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamsc831dd82023-10-20 11:18:51 -050031 AfterExternBlock: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamsc831dd82023-10-20 11:18:51 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050041 IndentBraces: false
George Liub5ca1012021-09-10 12:53:11 +080042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsa49c9872023-05-10 07:50:35 -050045BreakAfterAttributes: Never
Gunnar Mills94df8c92018-09-14 14:50:03 -050046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
George Liub5ca1012021-09-10 12:53:11 +080050BreakInheritanceList: AfterColon
51BreakStringLiterals: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
George Liub5ca1012021-09-10 12:53:11 +080054CompactNamespaces: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050059DisableFormat: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050060FixNamespaceComments: true
Patrick Williamsc831dd82023-10-20 11:18:51 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Gunnar Mills94df8c92018-09-14 14:50:03 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
George Liub5ca1012021-09-10 12:53:11 +080068 Priority: 7
Gunnar Mills94df8c92018-09-14 14:50:03 -050069 - Regex: '^"config.h"'
70 Priority: -1
George Liub5ca1012021-09-10 12:53:11 +080071 - Regex: '^".*\.h"'
Gunnar Mills94df8c92018-09-14 14:50:03 -050072 Priority: 1
George Liub5ca1012021-09-10 12:53:11 +080073 - Regex: '^".*\.hpp"'
Gunnar Mills94df8c92018-09-14 14:50:03 -050074 Priority: 2
George Liub5ca1012021-09-10 12:53:11 +080075 - Regex: '^<.*\.h>'
Gunnar Mills94df8c92018-09-14 14:50:03 -050076 Priority: 3
George Liub5ca1012021-09-10 12:53:11 +080077 - Regex: '^<.*\.hpp>'
Gunnar Mills94df8c92018-09-14 14:50:03 -050078 Priority: 4
George Liub5ca1012021-09-10 12:53:11 +080079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Gunnar Mills94df8c92018-09-14 14:50:03 -050083IndentCaseLabels: true
Patrick Williamsc831dd82023-10-20 11:18:51 -050084IndentExternBlock: NoIndent
Patrick Williamsa49c9872023-05-10 07:50:35 -050085IndentRequiresClause: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsa49c9872023-05-10 07:50:35 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Gunnar Mills94df8c92018-09-14 14:50:03 -050092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsc831dd82023-10-20 11:18:51 -050099PackConstructorInitializers: BinPack
Patrick Williamsa49c9872023-05-10 07:50:35 -0500100PenaltyBreakAssignment: 25
Gunnar Mills94df8c92018-09-14 14:50:03 -0500101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsa49c9872023-05-10 07:50:35 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamsc831dd82023-10-20 11:18:51 -0500108PointerAlignment: Left
Patrick Williamsa49c9872023-05-10 07:50:35 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Gunnar Mills94df8c92018-09-14 14:50:03 -0500111ReflowComments: true
Patrick Williamsa49c9872023-05-10 07:50:35 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williamsc831dd82023-10-20 11:18:51 -0500114SortIncludes: CaseSensitive
Gunnar Mills94df8c92018-09-14 14:50:03 -0500115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
George Liub5ca1012021-09-10 12:53:11 +0800117SpaceAfterTemplateKeyword: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500118SpaceBeforeAssignmentOperators: true
George Liub5ca1012021-09-10 12:53:11 +0800119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500122SpaceBeforeParens: ControlStatements
George Liub5ca1012021-09-10 12:53:11 +0800123SpaceBeforeRangeBasedForLoopColon: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamsc831dd82023-10-20 11:18:51 -0500126SpacesInAngles: Never
Gunnar Mills94df8c92018-09-14 14:50:03 -0500127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
George Liub5ca1012021-09-10 12:53:11 +0800131Standard: Latest
Gunnar Mills94df8c92018-09-14 14:50:03 -0500132TabWidth: 4
133UseTab: Never
134...
Patrick Williamsa49c9872023-05-10 07:50:35 -0500135