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