blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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 Williams1b2c3c02024-08-16 15:20:29 -040090LambdaBodyIndentation: Signature
Patrick Williams9e5cd382023-05-10 07:50:38 -050091LineEnding: 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
Patrick Williams1b2c3c02024-08-16 15:20:29 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Andrew Geissler58a18012018-01-19 19:36:05 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams1b2c3c02024-08-16 15:20:29 -0400105PenaltyBreakTemplateDeclaration: 10
Andrew Geissler58a18012018-01-19 19:36:05 -0800106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams1b2c3c02024-08-16 15:20:29 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams30538e82023-10-20 11:18:54 -0500109PointerAlignment: Left
Patrick Williams9e5cd382023-05-10 07:50:38 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Andrew Geissler58a18012018-01-19 19:36:05 -0800112ReflowComments: true
Patrick Williams9e5cd382023-05-10 07:50:38 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams30538e82023-10-20 11:18:54 -0500115SortIncludes: CaseSensitive
Andrew Geisslere426b582020-05-28 12:40:55 -0500116SortUsingDeclarations: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800117SpaceAfterCStyleCast: false
Andrew Geisslere426b582020-05-28 12:40:55 -0500118SpaceAfterTemplateKeyword: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800119SpaceBeforeAssignmentOperators: true
Andrew Geisslere426b582020-05-28 12:40:55 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800123SpaceBeforeParens: ControlStatements
Andrew Geisslere426b582020-05-28 12:40:55 -0500124SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams30538e82023-10-20 11:18:54 -0500127SpacesInAngles: Never
Andrew Geissler58a18012018-01-19 19:36:05 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Andrew Geisslere426b582020-05-28 12:40:55 -0500132Standard: Latest
Andrew Geissler58a18012018-01-19 19:36:05 -0800133TabWidth: 4
134UseTab: Never
135...
Patrick Williams9e5cd382023-05-10 07:50:38 -0500136