blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [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 -070020AlwaysBreakBeforeMultilineStrings: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williamse1a27142023-10-19 19:31:40 -050023BitFieldColonSpacing: None
Patrick Venture0dcc4302018-09-24 10:39:54 -070024BraceWrapping:
Patrick Williamsb6de1962020-05-21 15:10:06 -050025 AfterCaseLabel: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamse1a27142023-10-19 19:31:40 -050029 AfterExternBlock: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamse1a27142023-10-19 19:31:40 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070039 IndentBraces: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams231ad0c2023-04-13 12:03:27 -050043BreakAfterAttributes: Never
Patrick Williams35c20052024-12-18 10:54:49 -050044BreakAfterReturnType: Automatic
Patrick Venture0dcc4302018-09-24 10:39:54 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Zane Shelley9a71ea12019-10-29 11:16:13 -050049BreakInheritanceList: AfterColon
Andrew Jeffery9e5bbd02021-08-06 10:29:36 +093050BreakStringLiterals: false
Patrick Williams35c20052024-12-18 10:54:49 -050051BreakTemplateDeclarations: Yes
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
Patrick Williamsa69289a2024-06-04 15:44:05 -050090LambdaBodyIndentation: Signature
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 Williamsa69289a2024-06-04 15:44:05 -0500101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venture0dcc4302018-09-24 10:39:54 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsa69289a2024-06-04 15:44:05 -0500105PenaltyBreakTemplateDeclaration: 10
Patrick Venture0dcc4302018-09-24 10:39:54 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsa69289a2024-06-04 15:44:05 -0500108PenaltyIndentedWhitespace: 1
Patrick Williamse1a27142023-10-19 19:31:40 -0500109PointerAlignment: Left
Patrick Williamsc742fe82022-09-29 20:21:39 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venture0dcc4302018-09-24 10:39:54 -0700112ReflowComments: true
Patrick Williams06136282022-09-29 20:24:29 -0500113RequiresClausePosition: OwnLine
Patrick Williams231ad0c2023-04-13 12:03:27 -0500114RequiresExpressionIndentation: Keyword
Patrick Williamse1a27142023-10-19 19:31:40 -0500115SortIncludes: CaseSensitive
Patrick Venture0dcc4302018-09-24 10:39:54 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Zane Shelley9a71ea12019-10-29 11:16:13 -0500118SpaceAfterTemplateKeyword: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700119SpaceBeforeAssignmentOperators: true
Zane Shelley9a71ea12019-10-29 11:16:13 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700123SpaceBeforeParens: ControlStatements
Zane Shelley9a71ea12019-10-29 11:16:13 -0500124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamse1a27142023-10-19 19:31:40 -0500127SpacesInAngles: Never
Patrick Venture0dcc4302018-09-24 10:39:54 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams36d6f562020-05-28 17:53:49 -0500132Standard: Latest
Patrick Venture0dcc4302018-09-24 10:39:54 -0700133TabWidth: 4
Patrick Venture0dcc4302018-09-24 10:39:54 -0700134UseTab: Never
135...
136