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