blob: 82c0e2c087ac3f4500c3f2659ef15a43ebe48bb1 [file] [log] [blame]
Dawid Fryckia642a942018-06-12 10:44:23 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
Dawid Fryckia642a942018-06-12 10:44:23 -070010AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050012AllowShortBlocksOnASingleLine: Empty
Dawid Fryckia642a942018-06-12 10:44:23 -070013AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050014AllowShortFunctionsOnASingleLine: Empty
Dawid Fryckia642a942018-06-12 10:44:23 -070015AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Dawid Fryckia642a942018-06-12 10:44:23 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050019AlwaysBreakTemplateDeclarations: Yes
Dawid Fryckia642a942018-06-12 10:44:23 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050023 AfterCaseLabel: true
Dawid Fryckia642a942018-06-12 10:44:23 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050032 AfterExternBlock: true
Dawid Fryckia642a942018-06-12 10:44:23 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Dawid Fryckia642a942018-06-12 10:44:23 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050043BreakInheritanceList: AfterColon
44BreakStringLiterals: false
Dawid Fryckia642a942018-06-12 10:44:23 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050047CompactNamespaces: false
Dawid Fryckia642a942018-06-12 10:44:23 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050052DeriveLineEnding: false
53DerivePointerAlignment: false
Dawid Fryckia642a942018-06-12 10:44:23 -070054PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050062 Priority: 7
Dawid Fryckia642a942018-06-12 10:44:23 -070063 - Regex: '^"config.h"'
64 Priority: -1
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050065 - Regex: '^".*\.h"'
Dawid Fryckia642a942018-06-12 10:44:23 -070066 Priority: 1
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050067 - Regex: '^".*\.hpp"'
Dawid Fryckia642a942018-06-12 10:44:23 -070068 Priority: 2
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050069 - Regex: '^<.*\.h>'
Dawid Fryckia642a942018-06-12 10:44:23 -070070 Priority: 3
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050071 - Regex: '^<.*\.hpp>'
Dawid Fryckia642a942018-06-12 10:44:23 -070072 Priority: 4
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Dawid Fryckia642a942018-06-12 10:44:23 -070077IndentCaseLabels: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050078IndentRequiresClause: true
Dawid Fryckia642a942018-06-12 10:44:23 -070079IndentWidth: 4
80IndentWrappedFunctionNames: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050081KeepEmptyLinesAtTheStartOfBlocks: false
82LambdaBodyIndentation: OuterScope
Dawid Fryckia642a942018-06-12 10:44:23 -070083MacroBlockBegin: ''
84MacroBlockEnd: ''
85MaxEmptyLinesToKeep: 1
86NamespaceIndentation: None
87ObjCBlockIndentWidth: 2
88ObjCSpaceAfterProperty: false
89ObjCSpaceBeforeProtocolList: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050090PenaltyBreakAssignment: 25
Dawid Fryckia642a942018-06-12 10:44:23 -070091PenaltyBreakBeforeFirstCallParameter: 19
92PenaltyBreakComment: 300
93PenaltyBreakFirstLessLess: 120
94PenaltyBreakString: 1000
95PenaltyExcessCharacter: 1000000
96PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsfe0d38a2023-03-30 14:51:33 -050097PenaltyIndentedWhitespace: 0
98QualifierAlignment: Left
99ReferenceAlignment: Left
Dawid Fryckia642a942018-06-12 10:44:23 -0700100ReflowComments: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500101RequiresClausePosition: OwnLine
Dawid Fryckia642a942018-06-12 10:44:23 -0700102SortIncludes: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500103SortUsingDeclarations: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700104SpaceAfterCStyleCast: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500105SpaceAfterTemplateKeyword: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700106SpaceBeforeAssignmentOperators: true
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500107SpaceBeforeCpp11BracedList: false
108SpaceBeforeCtorInitializerColon: true
109SpaceBeforeInheritanceColon: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700110SpaceBeforeParens: ControlStatements
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500111SpaceBeforeRangeBasedForLoopColon: true
Dawid Fryckia642a942018-06-12 10:44:23 -0700112SpaceInEmptyParentheses: false
113SpacesBeforeTrailingComments: 1
114SpacesInAngles: false
115SpacesInContainerLiterals: true
116SpacesInCStyleCastParentheses: false
117SpacesInParentheses: false
118SpacesInSquareBrackets: false
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500119Standard: Latest
Dawid Fryckia642a942018-06-12 10:44:23 -0700120TabWidth: 4
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500121UseCRLF: false
Dawid Fryckia642a942018-06-12 10:44:23 -0700122UseTab: Never
123...
Patrick Williamsfe0d38a2023-03-30 14:51:33 -0500124