blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Patrick Venture0dcc4302018-09-24 10:39:54 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Zane Shelley9a71ea12019-10-29 11:16:13 -05008AlignEscapedNewlines: Right
Patrick Williamsc742fe82022-09-29 20:21:39 -05009AlignOperands: Align
Patrick Williams231ad0c2023-04-13 12:03:27 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture0dcc4302018-09-24 10:39:54 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams3547af12022-08-26 10:48:47 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture0dcc4302018-09-24 10:39:54 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams3547af12022-08-26 10:48:47 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamse1a27142023-10-19 19:31:40 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070019AllowShortLoopsOnASingleLine: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050022AlwaysBreakTemplateDeclarations: Yes
Patrick Venture0dcc4302018-09-24 10:39:54 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williamse1a27142023-10-19 19:31:40 -050025BitFieldColonSpacing: None
Patrick Venture0dcc4302018-09-24 10:39:54 -070026BraceWrapping:
Patrick Williamsb6de1962020-05-21 15:10:06 -050027 AfterCaseLabel: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamse1a27142023-10-19 19:31:40 -050031 AfterExternBlock: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamse1a27142023-10-19 19:31:40 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070041 IndentBraces: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams231ad0c2023-04-13 12:03:27 -050045BreakAfterAttributes: Never
Patrick Venture0dcc4302018-09-24 10:39:54 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Zane Shelley9a71ea12019-10-29 11:16:13 -050050BreakInheritanceList: AfterColon
Andrew Jeffery9e5bbd02021-08-06 10:29:36 +093051BreakStringLiterals: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Zane Shelley9a71ea12019-10-29 11:16:13 -050054CompactNamespaces: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070059DisableFormat: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070060FixNamespaceComments: true
Patrick Williamse1a27142023-10-19 19:31:40 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture0dcc4302018-09-24 10:39:54 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Zane Shelley9a71ea12019-10-29 11:16:13 -050068 Priority: 7
Patrick Venture0dcc4302018-09-24 10:39:54 -070069 - Regex: '^"config.h"'
70 Priority: -1
Zane Shelley9a71ea12019-10-29 11:16:13 -050071 - Regex: '^".*\.h"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070072 Priority: 1
Zane Shelley9a71ea12019-10-29 11:16:13 -050073 - Regex: '^".*\.hpp"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070074 Priority: 2
Zane Shelley9a71ea12019-10-29 11:16:13 -050075 - Regex: '^<.*\.h>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070076 Priority: 3
Zane Shelley9a71ea12019-10-29 11:16:13 -050077 - Regex: '^<.*\.hpp>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070078 Priority: 4
Zane Shelley9a71ea12019-10-29 11:16:13 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venture0dcc4302018-09-24 10:39:54 -070083IndentCaseLabels: true
Patrick Williamsdc24b2e2023-05-10 20:49:39 -050084IndentExternBlock: NoIndent
Patrick Williams06136282022-09-29 20:24:29 -050085IndentRequiresClause: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams231ad0c2023-04-13 12:03:27 -050088InsertNewlineAtEOF: true
Brad Bishopac5d5442022-05-16 08:31:49 -040089KeepEmptyLinesAtTheStartOfBlocks: false
Andrew Jeffery22319392023-02-08 11:01:50 +103090LambdaBodyIndentation: OuterScope
Patrick Williams231ad0c2023-04-13 12:03:27 -050091LineEnding: LF
Patrick Venture0dcc4302018-09-24 10:39:54 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamse1a27142023-10-19 19:31:40 -050099PackConstructorInitializers: BinPack
Patrick Williamsba68be62022-09-29 20:18:17 -0500100PenaltyBreakAssignment: 25
Patrick Venture0dcc4302018-09-24 10:39:54 -0700101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsba68be62022-09-29 20:18:17 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamse1a27142023-10-19 19:31:40 -0500108PointerAlignment: Left
Patrick Williamsc742fe82022-09-29 20:21:39 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Patrick Venture0dcc4302018-09-24 10:39:54 -0700111ReflowComments: true
Patrick Williams06136282022-09-29 20:24:29 -0500112RequiresClausePosition: OwnLine
Patrick Williams231ad0c2023-04-13 12:03:27 -0500113RequiresExpressionIndentation: Keyword
Patrick Williamse1a27142023-10-19 19:31:40 -0500114SortIncludes: CaseSensitive
Patrick Venture0dcc4302018-09-24 10:39:54 -0700115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
Zane Shelley9a71ea12019-10-29 11:16:13 -0500117SpaceAfterTemplateKeyword: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700118SpaceBeforeAssignmentOperators: true
Zane Shelley9a71ea12019-10-29 11:16:13 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700122SpaceBeforeParens: ControlStatements
Zane Shelley9a71ea12019-10-29 11:16:13 -0500123SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamse1a27142023-10-19 19:31:40 -0500126SpacesInAngles: Never
Patrick Venture0dcc4302018-09-24 10:39:54 -0700127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williams36d6f562020-05-28 17:53:49 -0500131Standard: Latest
Patrick Venture0dcc4302018-09-24 10:39:54 -0700132TabWidth: 4
Patrick Venture0dcc4302018-09-24 10:39:54 -0700133UseTab: Never
134...
135