blob: e5530e6b6b094a2c67bbfb4416a3a6b05e7239be [file] [log] [blame]
Patrick Venture8fbed2e2018-11-01 19:25:31 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Vijay Khemka2b6f4422020-05-29 11:13:23 -07008AlignEscapedNewlines: Right
Patrick Williams48aa1f02023-05-10 07:50:30 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture8fbed2e2018-11-01 19:25:31 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams48aa1f02023-05-10 07:50:30 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture8fbed2e2018-11-01 19:25:31 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams48aa1f02023-05-10 07:50:30 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsd394c882023-10-20 11:18:44 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venture8fbed2e2018-11-01 19:25:31 -070019AllowShortLoopsOnASingleLine: false
Patrick Venture8fbed2e2018-11-01 19:25:31 -070020AlwaysBreakBeforeMultilineStrings: false
Patrick Venture8fbed2e2018-11-01 19:25:31 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williamsd394c882023-10-20 11:18:44 -050023BitFieldColonSpacing: None
Patrick Venture8fbed2e2018-11-01 19:25:31 -070024BraceWrapping:
Vijay Khemka2b6f4422020-05-29 11:13:23 -070025 AfterCaseLabel: true
Patrick Venture8fbed2e2018-11-01 19:25:31 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamsd394c882023-10-20 11:18:44 -050029 AfterExternBlock: true
Patrick Venture8fbed2e2018-11-01 19:25:31 -070030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamsd394c882023-10-20 11:18:44 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venture8fbed2e2018-11-01 19:25:31 -070039 IndentBraces: false
Vijay Khemka2b6f4422020-05-29 11:13:23 -070040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams48aa1f02023-05-10 07:50:30 -050043BreakAfterAttributes: Never
Patrick Williams85e87e32024-12-18 11:20:49 -050044BreakAfterReturnType: Automatic
Patrick Venture8fbed2e2018-11-01 19:25:31 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Vijay Khemka2b6f4422020-05-29 11:13:23 -070049BreakInheritanceList: AfterColon
Jason M. Bills418ce112021-09-08 15:15:05 -070050BreakStringLiterals: false
Patrick Williams85e87e32024-12-18 11:20:49 -050051BreakTemplateDeclarations: Yes
Patrick Venture8fbed2e2018-11-01 19:25:31 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Vijay Khemka2b6f4422020-05-29 11:13:23 -070054CompactNamespaces: false
Patrick Venture8fbed2e2018-11-01 19:25:31 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venture8fbed2e2018-11-01 19:25:31 -070059DisableFormat: false
Patrick Venture8fbed2e2018-11-01 19:25:31 -070060FixNamespaceComments: true
Patrick Williamsd394c882023-10-20 11:18:44 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture8fbed2e2018-11-01 19:25:31 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Vijay Khemka2b6f4422020-05-29 11:13:23 -070068 Priority: 7
Patrick Venture8fbed2e2018-11-01 19:25:31 -070069 - Regex: '^"config.h"'
70 Priority: -1
Vijay Khemka2b6f4422020-05-29 11:13:23 -070071 - Regex: '^".*\.h"'
Patrick Venture8fbed2e2018-11-01 19:25:31 -070072 Priority: 1
Vijay Khemka2b6f4422020-05-29 11:13:23 -070073 - Regex: '^".*\.hpp"'
Patrick Venture8fbed2e2018-11-01 19:25:31 -070074 Priority: 2
Vijay Khemka2b6f4422020-05-29 11:13:23 -070075 - Regex: '^<.*\.h>'
Patrick Venture8fbed2e2018-11-01 19:25:31 -070076 Priority: 3
Vijay Khemka2b6f4422020-05-29 11:13:23 -070077 - Regex: '^<.*\.hpp>'
Patrick Venture8fbed2e2018-11-01 19:25:31 -070078 Priority: 4
Vijay Khemka2b6f4422020-05-29 11:13:23 -070079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venture8fbed2e2018-11-01 19:25:31 -070083IndentCaseLabels: true
Patrick Williamsd394c882023-10-20 11:18:44 -050084IndentExternBlock: NoIndent
Patrick Williams48aa1f02023-05-10 07:50:30 -050085IndentRequiresClause: true
Patrick Venture8fbed2e2018-11-01 19:25:31 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams48aa1f02023-05-10 07:50:30 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsa0a39f82024-08-16 15:20:19 -040090LambdaBodyIndentation: Signature
Patrick Williams48aa1f02023-05-10 07:50:30 -050091LineEnding: LF
Patrick Venture8fbed2e2018-11-01 19:25:31 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsd394c882023-10-20 11:18:44 -050099PackConstructorInitializers: BinPack
Patrick Williams48aa1f02023-05-10 07:50:30 -0500100PenaltyBreakAssignment: 25
Patrick Williamsa0a39f82024-08-16 15:20:19 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsa0a39f82024-08-16 15:20:19 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700106PenaltyExcessCharacter: 1000000
Patrick Williamsb84e7892025-02-01 08:22:06 -0500107PenaltyReturnTypeOnItsOwnLine: 150
Patrick Williamsa0a39f82024-08-16 15:20:19 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsd394c882023-10-20 11:18:44 -0500109PointerAlignment: Left
Patrick Williams48aa1f02023-05-10 07:50:30 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700112ReflowComments: true
Patrick Williams48aa1f02023-05-10 07:50:30 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsd394c882023-10-20 11:18:44 -0500115SortIncludes: CaseSensitive
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Vijay Khemka2b6f4422020-05-29 11:13:23 -0700118SpaceAfterTemplateKeyword: true
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700119SpaceBeforeAssignmentOperators: true
Vijay Khemka2b6f4422020-05-29 11:13:23 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700123SpaceBeforeParens: ControlStatements
Vijay Khemka2b6f4422020-05-29 11:13:23 -0700124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsd394c882023-10-20 11:18:44 -0500127SpacesInAngles: Never
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Jason M. Bills418ce112021-09-08 15:15:05 -0700132Standard: Latest
Patrick Venture8fbed2e2018-11-01 19:25:31 -0700133TabWidth: 4
134UseTab: Never
135...
Patrick Williams48aa1f02023-05-10 07:50:30 -0500136