blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Brad Bishop615b2a82018-03-29 10:32:41 -04001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brad Bishopa83db302020-12-06 14:51:23 -05008AlignEscapedNewlines: Right
Patrick Williams7edafe02023-05-10 07:50:28 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Brad Bishop615b2a82018-03-29 10:32:41 -040013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams7edafe02023-05-10 07:50:28 -050014AllowShortBlocksOnASingleLine: Empty
Brad Bishop615b2a82018-03-29 10:32:41 -040015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams7edafe02023-05-10 07:50:28 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsecabdfe2023-10-20 11:18:41 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Brad Bishop615b2a82018-03-29 10:32:41 -040019AllowShortLoopsOnASingleLine: false
Brad Bishop615b2a82018-03-29 10:32:41 -040020AlwaysBreakBeforeMultilineStrings: false
Brad Bishop615b2a82018-03-29 10:32:41 -040021BinPackArguments: true
22BinPackParameters: true
Patrick Williamsecabdfe2023-10-20 11:18:41 -050023BitFieldColonSpacing: None
Brad Bishop615b2a82018-03-29 10:32:41 -040024BraceWrapping:
Brad Bishopa83db302020-12-06 14:51:23 -050025 AfterCaseLabel: true
Brad Bishop615b2a82018-03-29 10:32:41 -040026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamsecabdfe2023-10-20 11:18:41 -050029 AfterExternBlock: true
Brad Bishop615b2a82018-03-29 10:32:41 -040030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamsecabdfe2023-10-20 11:18:41 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Brad Bishop615b2a82018-03-29 10:32:41 -040039 IndentBraces: false
Brad Bishopa83db302020-12-06 14:51:23 -050040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams7edafe02023-05-10 07:50:28 -050043BreakAfterAttributes: Never
Patrick Williams174d7ea2024-12-18 11:20:45 -050044BreakAfterReturnType: Automatic
Brad Bishop615b2a82018-03-29 10:32:41 -040045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Brad Bishopa83db302020-12-06 14:51:23 -050049BreakInheritanceList: AfterColon
George Liu794a6c52022-04-14 14:29:34 +080050BreakStringLiterals: false
Patrick Williams174d7ea2024-12-18 11:20:45 -050051BreakTemplateDeclarations: Yes
Brad Bishop615b2a82018-03-29 10:32:41 -040052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Brad Bishopa83db302020-12-06 14:51:23 -050054CompactNamespaces: false
Brad Bishop615b2a82018-03-29 10:32:41 -040055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Patrick Venturea680d1e2018-10-14 13:34:26 -070058DerivePointerAlignment: false
Brad Bishop615b2a82018-03-29 10:32:41 -040059DisableFormat: false
Brad Bishop615b2a82018-03-29 10:32:41 -040060FixNamespaceComments: true
Patrick Williamsecabdfe2023-10-20 11:18:41 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venturea680d1e2018-10-14 13:34:26 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Brad Bishopa83db302020-12-06 14:51:23 -050068 Priority: 7
Patrick Venturea680d1e2018-10-14 13:34:26 -070069 - Regex: '^"config.h"'
70 Priority: -1
Brad Bishopa83db302020-12-06 14:51:23 -050071 - Regex: '^".*\.h"'
Patrick Venturea680d1e2018-10-14 13:34:26 -070072 Priority: 1
Brad Bishopa83db302020-12-06 14:51:23 -050073 - Regex: '^".*\.hpp"'
Patrick Venturea680d1e2018-10-14 13:34:26 -070074 Priority: 2
Brad Bishopa83db302020-12-06 14:51:23 -050075 - Regex: '^<.*\.h>'
Patrick Venturea680d1e2018-10-14 13:34:26 -070076 Priority: 3
Brad Bishopa83db302020-12-06 14:51:23 -050077 - Regex: '^<.*\.hpp>'
Patrick Venturea680d1e2018-10-14 13:34:26 -070078 Priority: 4
Brad Bishopa83db302020-12-06 14:51:23 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Brad Bishop615b2a82018-03-29 10:32:41 -040083IndentCaseLabels: true
Patrick Williamsecabdfe2023-10-20 11:18:41 -050084IndentExternBlock: NoIndent
Patrick Williams7edafe02023-05-10 07:50:28 -050085IndentRequiresClause: true
Brad Bishop615b2a82018-03-29 10:32:41 -040086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams7edafe02023-05-10 07:50:28 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsd8fba8b2024-08-16 15:20:15 -040090LambdaBodyIndentation: Signature
Patrick Williams7edafe02023-05-10 07:50:28 -050091LineEnding: LF
Brad Bishop615b2a82018-03-29 10:32:41 -040092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsecabdfe2023-10-20 11:18:41 -050099PackConstructorInitializers: BinPack
Patrick Williams7edafe02023-05-10 07:50:28 -0500100PenaltyBreakAssignment: 25
Patrick Williamsd8fba8b2024-08-16 15:20:15 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Brad Bishop615b2a82018-03-29 10:32:41 -0400102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsd8fba8b2024-08-16 15:20:15 -0400105PenaltyBreakTemplateDeclaration: 10
Brad Bishop615b2a82018-03-29 10:32:41 -0400106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsd8fba8b2024-08-16 15:20:15 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsecabdfe2023-10-20 11:18:41 -0500109PointerAlignment: Left
Patrick Williams7edafe02023-05-10 07:50:28 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Brad Bishop615b2a82018-03-29 10:32:41 -0400112ReflowComments: true
Patrick Williams7edafe02023-05-10 07:50:28 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsecabdfe2023-10-20 11:18:41 -0500115SortIncludes: CaseSensitive
Patrick Venturea680d1e2018-10-14 13:34:26 -0700116SortUsingDeclarations: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400117SpaceAfterCStyleCast: false
Brad Bishopa83db302020-12-06 14:51:23 -0500118SpaceAfterTemplateKeyword: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400119SpaceBeforeAssignmentOperators: true
Brad Bishopa83db302020-12-06 14:51:23 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400123SpaceBeforeParens: ControlStatements
Brad Bishopa83db302020-12-06 14:51:23 -0500124SpaceBeforeRangeBasedForLoopColon: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsecabdfe2023-10-20 11:18:41 -0500127SpacesInAngles: Never
Brad Bishop615b2a82018-03-29 10:32:41 -0400128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Brad Bishopa83db302020-12-06 14:51:23 -0500132Standard: Latest
Brad Bishop615b2a82018-03-29 10:32:41 -0400133TabWidth: 4
134UseTab: Never
135...
Patrick Williams7edafe02023-05-10 07:50:28 -0500136