blob: e5530e6b6b094a2c67bbfb4416a3a6b05e7239be [file] [log] [blame]
Patrick Venturef78d9042018-11-01 15:39:53 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brad Bishop5e5d4452020-10-27 19:46:13 -04008AlignEscapedNewlines: Right
Patrick Williams00dd33e2023-05-10 07:50:37 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venturef78d9042018-11-01 15:39:53 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams00dd33e2023-05-10 07:50:37 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venturef78d9042018-11-01 15:39:53 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams00dd33e2023-05-10 07:50:37 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams915b38f2023-10-20 11:18:55 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venturef78d9042018-11-01 15:39:53 -070019AllowShortLoopsOnASingleLine: false
Patrick Venturef78d9042018-11-01 15:39:53 -070020AlwaysBreakBeforeMultilineStrings: false
Patrick Venturef78d9042018-11-01 15:39:53 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williams915b38f2023-10-20 11:18:55 -050023BitFieldColonSpacing: None
Patrick Venturef78d9042018-11-01 15:39:53 -070024BraceWrapping:
Brad Bishop5e5d4452020-10-27 19:46:13 -040025 AfterCaseLabel: true
Patrick Venturef78d9042018-11-01 15:39:53 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams915b38f2023-10-20 11:18:55 -050029 AfterExternBlock: true
Patrick Venturef78d9042018-11-01 15:39:53 -070030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams915b38f2023-10-20 11:18:55 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venturef78d9042018-11-01 15:39:53 -070039 IndentBraces: false
Brad Bishop5e5d4452020-10-27 19:46:13 -040040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams00dd33e2023-05-10 07:50:37 -050043BreakAfterAttributes: Never
Patrick Williams4f312382024-12-18 11:21:02 -050044BreakAfterReturnType: Automatic
Patrick Venturef78d9042018-11-01 15:39:53 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Brad Bishop5e5d4452020-10-27 19:46:13 -040049BreakInheritanceList: AfterColon
Patrick Williams00dd33e2023-05-10 07:50:37 -050050BreakStringLiterals: false
Patrick Williams4f312382024-12-18 11:21:02 -050051BreakTemplateDeclarations: Yes
Patrick Venturef78d9042018-11-01 15:39:53 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Brad Bishop5e5d4452020-10-27 19:46:13 -040054CompactNamespaces: false
Patrick Venturef78d9042018-11-01 15:39:53 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venturef78d9042018-11-01 15:39:53 -070059DisableFormat: false
Patrick Venturef78d9042018-11-01 15:39:53 -070060FixNamespaceComments: true
Patrick Williams915b38f2023-10-20 11:18:55 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venturef78d9042018-11-01 15:39:53 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Brad Bishop5e5d4452020-10-27 19:46:13 -040068 Priority: 7
Patrick Venturef78d9042018-11-01 15:39:53 -070069 - Regex: '^"config.h"'
70 Priority: -1
Brad Bishop5e5d4452020-10-27 19:46:13 -040071 - Regex: '^".*\.h"'
Patrick Venturef78d9042018-11-01 15:39:53 -070072 Priority: 1
Brad Bishop5e5d4452020-10-27 19:46:13 -040073 - Regex: '^".*\.hpp"'
Patrick Venturef78d9042018-11-01 15:39:53 -070074 Priority: 2
Brad Bishop5e5d4452020-10-27 19:46:13 -040075 - Regex: '^<.*\.h>'
Patrick Venturef78d9042018-11-01 15:39:53 -070076 Priority: 3
Brad Bishop5e5d4452020-10-27 19:46:13 -040077 - Regex: '^<.*\.hpp>'
Patrick Venturef78d9042018-11-01 15:39:53 -070078 Priority: 4
Brad Bishop5e5d4452020-10-27 19:46:13 -040079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venturef78d9042018-11-01 15:39:53 -070083IndentCaseLabels: true
Patrick Williams915b38f2023-10-20 11:18:55 -050084IndentExternBlock: NoIndent
Patrick Williams00dd33e2023-05-10 07:50:37 -050085IndentRequiresClause: true
Patrick Venturef78d9042018-11-01 15:39:53 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams00dd33e2023-05-10 07:50:37 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams1e43be02024-08-16 15:20:32 -040090LambdaBodyIndentation: Signature
Patrick Williams00dd33e2023-05-10 07:50:37 -050091LineEnding: LF
Patrick Venturef78d9042018-11-01 15:39:53 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams915b38f2023-10-20 11:18:55 -050099PackConstructorInitializers: BinPack
Patrick Williams00dd33e2023-05-10 07:50:37 -0500100PenaltyBreakAssignment: 25
Patrick Williams1e43be02024-08-16 15:20:32 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venturef78d9042018-11-01 15:39:53 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams1e43be02024-08-16 15:20:32 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venturef78d9042018-11-01 15:39:53 -0700106PenaltyExcessCharacter: 1000000
Patrick Williams1bcde492025-02-01 08:22:16 -0500107PenaltyReturnTypeOnItsOwnLine: 150
Patrick Williams1e43be02024-08-16 15:20:32 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams915b38f2023-10-20 11:18:55 -0500109PointerAlignment: Left
Patrick Williams00dd33e2023-05-10 07:50:37 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venturef78d9042018-11-01 15:39:53 -0700112ReflowComments: true
Patrick Williams00dd33e2023-05-10 07:50:37 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams915b38f2023-10-20 11:18:55 -0500115SortIncludes: CaseSensitive
Patrick Venturef78d9042018-11-01 15:39:53 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Brad Bishop5e5d4452020-10-27 19:46:13 -0400118SpaceAfterTemplateKeyword: true
Patrick Venturef78d9042018-11-01 15:39:53 -0700119SpaceBeforeAssignmentOperators: true
Brad Bishop5e5d4452020-10-27 19:46:13 -0400120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venturef78d9042018-11-01 15:39:53 -0700123SpaceBeforeParens: ControlStatements
Brad Bishop5e5d4452020-10-27 19:46:13 -0400124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venturef78d9042018-11-01 15:39:53 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams915b38f2023-10-20 11:18:55 -0500127SpacesInAngles: Never
Patrick Venturef78d9042018-11-01 15:39:53 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Brad Bishop5e5d4452020-10-27 19:46:13 -0400132Standard: Latest
Patrick Venturef78d9042018-11-01 15:39:53 -0700133TabWidth: 4
134UseTab: Never
135...
136