blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Andrew Geissler58a18012018-01-19 19:36:05 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Andrew Geisslere426b582020-05-28 12:40:55 -05008AlignEscapedNewlines: Right
Patrick Williams9e5cd382023-05-10 07:50:38 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Andrew Geissler58a18012018-01-19 19:36:05 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams9e5cd382023-05-10 07:50:38 -050014AllowShortBlocksOnASingleLine: Empty
Andrew Geissler58a18012018-01-19 19:36:05 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams9e5cd382023-05-10 07:50:38 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams30538e82023-10-20 11:18:54 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Andrew Geissler58a18012018-01-19 19:36:05 -080019AllowShortLoopsOnASingleLine: false
Andrew Geissler58a18012018-01-19 19:36:05 -080020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Andrew Geisslere426b582020-05-28 12:40:55 -050022AlwaysBreakTemplateDeclarations: Yes
Andrew Geissler58a18012018-01-19 19:36:05 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williams30538e82023-10-20 11:18:54 -050025BitFieldColonSpacing: None
Andrew Geissler58a18012018-01-19 19:36:05 -080026BraceWrapping:
Andrew Geisslere426b582020-05-28 12:40:55 -050027 AfterCaseLabel: true
Andrew Geissler58a18012018-01-19 19:36:05 -080028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams30538e82023-10-20 11:18:54 -050031 AfterExternBlock: true
Andrew Geissler58a18012018-01-19 19:36:05 -080032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams30538e82023-10-20 11:18:54 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Andrew Geissler58a18012018-01-19 19:36:05 -080041 IndentBraces: false
Andrew Geisslere426b582020-05-28 12:40:55 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams9e5cd382023-05-10 07:50:38 -050045BreakAfterAttributes: Never
Andrew Geissler58a18012018-01-19 19:36:05 -080046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Andrew Geisslere426b582020-05-28 12:40:55 -050050BreakInheritanceList: AfterColon
Andrew Geisslerad65b2d2021-09-21 12:53:29 -050051BreakStringLiterals: false
Andrew Geissler58a18012018-01-19 19:36:05 -080052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Andrew Geisslere426b582020-05-28 12:40:55 -050054CompactNamespaces: false
Andrew Geissler58a18012018-01-19 19:36:05 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Andrew Geisslere426b582020-05-28 12:40:55 -050058DerivePointerAlignment: false
Andrew Geissler58a18012018-01-19 19:36:05 -080059DisableFormat: false
Andrew Geissler58a18012018-01-19 19:36:05 -080060FixNamespaceComments: true
Patrick Williams30538e82023-10-20 11:18:54 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Andrew Geisslere426b582020-05-28 12:40:55 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
68 Priority: 7
69 - Regex: '^"config.h"'
70 Priority: -1
71 - Regex: '^".*\.h"'
72 Priority: 1
73 - Regex: '^".*\.hpp"'
74 Priority: 2
75 - Regex: '^<.*\.h>'
76 Priority: 3
77 - Regex: '^<.*\.hpp>'
78 Priority: 4
79 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Andrew Geissler58a18012018-01-19 19:36:05 -080083IndentCaseLabels: true
Patrick Williams30538e82023-10-20 11:18:54 -050084IndentExternBlock: NoIndent
Patrick Williams9e5cd382023-05-10 07:50:38 -050085IndentRequiresClause: true
Andrew Geissler58a18012018-01-19 19:36:05 -080086IndentWidth: 4
Adriana Kobylak90e5ae72018-02-28 13:33:04 -060087IndentWrappedFunctionNames: true
Patrick Williams9e5cd382023-05-10 07:50:38 -050088InsertNewlineAtEOF: true
Andrew Geisslere4bdc7c2022-05-25 14:58:54 -050089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams9e5cd382023-05-10 07:50:38 -050090LambdaBodyIndentation: OuterScope
91LineEnding: LF
Andrew Geissler58a18012018-01-19 19:36:05 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams30538e82023-10-20 11:18:54 -050099PackConstructorInitializers: BinPack
Patrick Williams9e5cd382023-05-10 07:50:38 -0500100PenaltyBreakAssignment: 25
Andrew Geissler58a18012018-01-19 19:36:05 -0800101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams9e5cd382023-05-10 07:50:38 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams30538e82023-10-20 11:18:54 -0500108PointerAlignment: Left
Patrick Williams9e5cd382023-05-10 07:50:38 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Andrew Geissler58a18012018-01-19 19:36:05 -0800111ReflowComments: true
Patrick Williams9e5cd382023-05-10 07:50:38 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams30538e82023-10-20 11:18:54 -0500114SortIncludes: CaseSensitive
Andrew Geisslere426b582020-05-28 12:40:55 -0500115SortUsingDeclarations: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800116SpaceAfterCStyleCast: false
Andrew Geisslere426b582020-05-28 12:40:55 -0500117SpaceAfterTemplateKeyword: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800118SpaceBeforeAssignmentOperators: true
Andrew Geisslere426b582020-05-28 12:40:55 -0500119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800122SpaceBeforeParens: ControlStatements
Andrew Geisslere426b582020-05-28 12:40:55 -0500123SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams30538e82023-10-20 11:18:54 -0500126SpacesInAngles: Never
Andrew Geissler58a18012018-01-19 19:36:05 -0800127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Andrew Geisslere426b582020-05-28 12:40:55 -0500131Standard: Latest
Andrew Geissler58a18012018-01-19 19:36:05 -0800132TabWidth: 4
133UseTab: Never
134...
Patrick Williams9e5cd382023-05-10 07:50:38 -0500135