blob: e5530e6b6b094a2c67bbfb4416a3a6b05e7239be [file] [log] [blame]
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +01001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
Patrick Williams3a1c2972023-05-10 07:51:04 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams3a1c2972023-05-10 07:51:04 -050014AllowShortBlocksOnASingleLine: Empty
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams3a1c2972023-05-10 07:51:04 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsc7935fa2023-10-20 11:19:30 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010019AllowShortLoopsOnASingleLine: false
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010020AlwaysBreakBeforeMultilineStrings: false
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010021BinPackArguments: true
22BinPackParameters: true
Patrick Williamsc7935fa2023-10-20 11:19:30 -050023BitFieldColonSpacing: None
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010024BraceWrapping:
25 AfterCaseLabel: true
26 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamsc7935fa2023-10-20 11:19:30 -050029 AfterExternBlock: true
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010035 BeforeCatch: true
36 BeforeElse: true
Patrick Williamsc7935fa2023-10-20 11:19:30 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010039 IndentBraces: false
40 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams3a1c2972023-05-10 07:51:04 -050043BreakAfterAttributes: Never
Patrick Williams583ba442025-02-03 14:28:19 -050044BreakAfterReturnType: Automatic
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
49BreakInheritanceList: AfterColon
Patrick Williams3a1c2972023-05-10 07:51:04 -050050BreakStringLiterals: false
Patrick Williams583ba442025-02-03 14:28:19 -050051BreakTemplateDeclarations: Yes
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
54CompactNamespaces: false
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010059DisableFormat: false
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010060FixNamespaceComments: true
Patrick Williamsc7935fa2023-10-20 11:19:30 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010065IncludeBlocks: 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
83IndentCaseLabels: true
Patrick Williamsc7935fa2023-10-20 11:19:30 -050084IndentExternBlock: NoIndent
Patrick Williams3a1c2972023-05-10 07:51:04 -050085IndentRequiresClause: true
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams3a1c2972023-05-10 07:51:04 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams583ba442025-02-03 14:28:19 -050090LambdaBodyIndentation: Signature
Patrick Williams3a1c2972023-05-10 07:51:04 -050091LineEnding: LF
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +010092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsc7935fa2023-10-20 11:19:30 -050099PackConstructorInitializers: BinPack
Patrick Williams3a1c2972023-05-10 07:51:04 -0500100PenaltyBreakAssignment: 25
Patrick Williams583ba442025-02-03 14:28:19 -0500101PenaltyBreakBeforeFirstCallParameter: 50
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +0100102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams583ba442025-02-03 14:28:19 -0500105PenaltyBreakTemplateDeclaration: 10
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +0100106PenaltyExcessCharacter: 1000000
Patrick Williams583ba442025-02-03 14:28:19 -0500107PenaltyReturnTypeOnItsOwnLine: 150
108PenaltyIndentedWhitespace: 1
Patrick Williamsc7935fa2023-10-20 11:19:30 -0500109PointerAlignment: Left
Patrick Williams3a1c2972023-05-10 07:51:04 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +0100112ReflowComments: true
Patrick Williams3a1c2972023-05-10 07:51:04 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsc7935fa2023-10-20 11:19:30 -0500115SortIncludes: CaseSensitive
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +0100116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
118SpaceAfterTemplateKeyword: true
119SpaceBeforeAssignmentOperators: true
120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
123SpaceBeforeParens: ControlStatements
124SpaceBeforeRangeBasedForLoopColon: true
125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsc7935fa2023-10-20 11:19:30 -0500127SpacesInAngles: Never
Adrian Ambrożewiczb357ed52020-01-27 17:20:38 +0100128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
132Standard: Latest
133TabWidth: 4
134UseTab: Never
135...
Patrick Williams92cfff42021-02-22 17:15:39 -0600136