blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [file] [log] [blame]
Ed Tanous99923322017-03-03 14:21:24 -08001---
Ed Tanous1abe55e2018-09-05 08:30:59 -07002Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
Ed Tanous99923322017-03-03 14:21:24 -08005AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -05008AlignEscapedNewlines: Right
Patrick Williams89492a12023-05-10 07:51:34 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Ed Tanous99923322017-03-03 14:21:24 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams89492a12023-05-10 07:51:34 -050014AllowShortBlocksOnASingleLine: Empty
Ed Tanous99923322017-03-03 14:21:24 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams89492a12023-05-10 07:51:34 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams5a39f772023-10-20 11:20:21 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070019AllowShortLoopsOnASingleLine: false
Ed Tanous99923322017-03-03 14:21:24 -080020AlwaysBreakAfterReturnType: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070021AlwaysBreakBeforeMultilineStrings: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050022AlwaysBreakTemplateDeclarations: Yes
Ed Tanous99923322017-03-03 14:21:24 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williams5a39f772023-10-20 11:20:21 -050025BitFieldColonSpacing: None
Ed Tanous55c7b7a2018-05-22 15:27:24 -070026BraceWrapping:
Gunnar Mills1214b7e2020-06-04 10:11:30 -050027 AfterCaseLabel: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams5a39f772023-10-20 11:20:21 -050031 AfterExternBlock: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams5a39f772023-10-20 11:20:21 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Ed Tanous99923322017-03-03 14:21:24 -080041 IndentBraces: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams89492a12023-05-10 07:51:34 -050045BreakAfterAttributes: Never
Ed Tanous99923322017-03-03 14:21:24 -080046BreakBeforeBinaryOperators: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070047BreakBeforeBraces: Custom
Ed Tanous99923322017-03-03 14:21:24 -080048BreakBeforeTernaryOperators: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070049BreakConstructorInitializers: AfterColon
Gunnar Mills1214b7e2020-06-04 10:11:30 -050050BreakInheritanceList: AfterColon
George Liu0fda0f12021-11-16 10:06:17 +080051BreakStringLiterals: false
Ed Tanous1ccd57c2017-03-21 13:15:58 -070052ColumnLimit: 80
Ed Tanous99923322017-03-03 14:21:24 -080053CommentPragmas: '^ IWYU pragma:'
Gunnar Mills1214b7e2020-06-04 10:11:30 -050054CompactNamespaces: false
Ed Tanous99923322017-03-03 14:21:24 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -050058DerivePointerAlignment: false
Ed Tanous99923322017-03-03 14:21:24 -080059DisableFormat: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070060FixNamespaceComments: true
Patrick Williams5a39f772023-10-20 11:20:21 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Ed Tanous1abe55e2018-09-05 08:30:59 -070065IncludeBlocks: Regroup
Ed Tanous55c7b7a2018-05-22 15:27:24 -070066IncludeCategories:
Ed Tanous9140a672017-04-24 17:01:32 -070067 - Regex: '^[<"](gtest|gmock)'
Gunnar Mills1214b7e2020-06-04 10:11:30 -050068 Priority: 7
Ed Tanous1abe55e2018-09-05 08:30:59 -070069 - Regex: '^"config.h"'
70 Priority: -1
Gunnar Mills1214b7e2020-06-04 10:11:30 -050071 - Regex: '^".*\.h"'
Ed Tanous99923322017-03-03 14:21:24 -080072 Priority: 1
Gunnar Mills1214b7e2020-06-04 10:11:30 -050073 - Regex: '^".*\.hpp"'
Ed Tanous99923322017-03-03 14:21:24 -080074 Priority: 2
Gunnar Mills1214b7e2020-06-04 10:11:30 -050075 - Regex: '^<.*\.h>'
Ed Tanous99923322017-03-03 14:21:24 -080076 Priority: 3
Gunnar Mills1214b7e2020-06-04 10:11:30 -050077 - Regex: '^<.*\.hpp>'
Ed Tanous9140a672017-04-24 17:01:32 -070078 Priority: 4
Gunnar Mills1214b7e2020-06-04 10:11:30 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Ed Tanous99923322017-03-03 14:21:24 -080083IndentCaseLabels: true
Patrick Williams5a39f772023-10-20 11:20:21 -050084IndentExternBlock: NoIndent
Patrick Williams89492a12023-05-10 07:51:34 -050085IndentRequiresClause: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams89492a12023-05-10 07:51:34 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsbd79bce2024-08-16 15:22:20 -040090LambdaBodyIndentation: Signature
Patrick Williams89492a12023-05-10 07:51:34 -050091LineEnding: LF
Ed Tanous99923322017-03-03 14:21:24 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070098ObjCSpaceBeforeProtocolList: true
Patrick Williams5a39f772023-10-20 11:20:21 -050099PackConstructorInitializers: BinPack
Patrick Williams89492a12023-05-10 07:51:34 -0500100PenaltyBreakAssignment: 25
Patrick Williamsbd79bce2024-08-16 15:22:20 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Ed Tanous99923322017-03-03 14:21:24 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsbd79bce2024-08-16 15:22:20 -0400105PenaltyBreakTemplateDeclaration: 10
Ed Tanous99923322017-03-03 14:21:24 -0800106PenaltyExcessCharacter: 1000000
Ed Tanous1abe55e2018-09-05 08:30:59 -0700107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsbd79bce2024-08-16 15:22:20 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams5a39f772023-10-20 11:20:21 -0500109PointerAlignment: Left
Patrick Williams89492a12023-05-10 07:51:34 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Ed Tanous99923322017-03-03 14:21:24 -0800112ReflowComments: true
Patrick Williams89492a12023-05-10 07:51:34 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams5a39f772023-10-20 11:20:21 -0500115SortIncludes: CaseSensitive
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500116SortUsingDeclarations: true
Ed Tanous99923322017-03-03 14:21:24 -0800117SpaceAfterCStyleCast: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500118SpaceAfterTemplateKeyword: true
Ed Tanous99923322017-03-03 14:21:24 -0800119SpaceBeforeAssignmentOperators: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Ed Tanous99923322017-03-03 14:21:24 -0800123SpaceBeforeParens: ControlStatements
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500124SpaceBeforeRangeBasedForLoopColon: true
Ed Tanous99923322017-03-03 14:21:24 -0800125SpaceInEmptyParentheses: false
Ed Tanous1abe55e2018-09-05 08:30:59 -0700126SpacesBeforeTrailingComments: 1
Patrick Williams5a39f772023-10-20 11:20:21 -0500127SpacesInAngles: Never
Ed Tanous99923322017-03-03 14:21:24 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500132Standard: Latest
Ed Tanous1abe55e2018-09-05 08:30:59 -0700133TabWidth: 4
Ed Tanous99923322017-03-03 14:21:24 -0800134UseTab: Never
135...
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500136