blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
James Feist3cb5fec2018-01-23 14:41:51 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
James Feist8c505da2020-05-28 10:06:33 -07008AlignEscapedNewlines: Right
Patrick Williamsdf190612023-05-10 07:51:34 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
James Feist3cb5fec2018-01-23 14:41:51 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsdf190612023-05-10 07:51:34 -050014AllowShortBlocksOnASingleLine: Empty
James Feist3cb5fec2018-01-23 14:41:51 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsdf190612023-05-10 07:51:34 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
James Feist3cb5fec2018-01-23 14:41:51 -080019AllowShortLoopsOnASingleLine: false
James Feist3cb5fec2018-01-23 14:41:51 -080020AlwaysBreakBeforeMultilineStrings: false
James Feist3cb5fec2018-01-23 14:41:51 -080021BinPackArguments: true
22BinPackParameters: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050023BitFieldColonSpacing: None
James Feist3cb5fec2018-01-23 14:41:51 -080024BraceWrapping:
James Feist8c505da2020-05-28 10:06:33 -070025 AfterCaseLabel: true
James Feist3cb5fec2018-01-23 14:41:51 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050029 AfterExternBlock: true
James Feist3cb5fec2018-01-23 14:41:51 -080030 AfterFunction: true
James Feistc72f8c22018-04-30 13:05:11 -070031 AfterNamespace: true
James Feist3cb5fec2018-01-23 14:41:51 -080032 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
James Feist3cb5fec2018-01-23 14:41:51 -080039 IndentBraces: false
James Feist8c505da2020-05-28 10:06:33 -070040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsdf190612023-05-10 07:51:34 -050043BreakAfterAttributes: Never
Patrick Williamsa41f0142024-12-18 11:22:53 -050044BreakAfterReturnType: Automatic
James Feist3cb5fec2018-01-23 14:41:51 -080045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
James Feistc72f8c22018-04-30 13:05:11 -070048BreakConstructorInitializers: AfterColon
James Feist8c505da2020-05-28 10:06:33 -070049BreakInheritanceList: AfterColon
Patrick Williamsdf190612023-05-10 07:51:34 -050050BreakStringLiterals: false
Patrick Williamsa41f0142024-12-18 11:22:53 -050051BreakTemplateDeclarations: Yes
James Feist3cb5fec2018-01-23 14:41:51 -080052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
James Feist8c505da2020-05-28 10:06:33 -070054CompactNamespaces: false
James Feist3cb5fec2018-01-23 14:41:51 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
James Feista465ccc2019-02-08 12:51:01 -080058DerivePointerAlignment: false
James Feist3cb5fec2018-01-23 14:41:51 -080059DisableFormat: false
James Feistc72f8c22018-04-30 13:05:11 -070060FixNamespaceComments: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
James Feista465ccc2019-02-08 12:51:01 -080065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
James Feist8c505da2020-05-28 10:06:33 -070068 Priority: 7
James Feista465ccc2019-02-08 12:51:01 -080069 - Regex: '^"config.h"'
70 Priority: -1
James Feist8c505da2020-05-28 10:06:33 -070071 - Regex: '^".*\.h"'
James Feista465ccc2019-02-08 12:51:01 -080072 Priority: 1
James Feist8c505da2020-05-28 10:06:33 -070073 - Regex: '^".*\.hpp"'
James Feista465ccc2019-02-08 12:51:01 -080074 Priority: 2
James Feist8c505da2020-05-28 10:06:33 -070075 - Regex: '^<.*\.h>'
James Feista465ccc2019-02-08 12:51:01 -080076 Priority: 3
James Feist8c505da2020-05-28 10:06:33 -070077 - Regex: '^<.*\.hpp>'
James Feista465ccc2019-02-08 12:51:01 -080078 Priority: 4
James Feist8c505da2020-05-28 10:06:33 -070079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
James Feistc72f8c22018-04-30 13:05:11 -070083IndentCaseLabels: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050084IndentExternBlock: NoIndent
Patrick Williamsdf190612023-05-10 07:51:34 -050085IndentRequiresClause: true
James Feist3cb5fec2018-01-23 14:41:51 -080086IndentWidth: 4
James Feistc72f8c22018-04-30 13:05:11 -070087IndentWrappedFunctionNames: true
Patrick Williamsdf190612023-05-10 07:51:34 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsb7077432024-08-16 15:22:21 -040090LambdaBodyIndentation: Signature
Patrick Williamsdf190612023-05-10 07:51:34 -050091LineEnding: LF
James Feist3cb5fec2018-01-23 14:41:51 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050099PackConstructorInitializers: BinPack
Patrick Williamsdf190612023-05-10 07:51:34 -0500100PenaltyBreakAssignment: 25
Patrick Williamsb7077432024-08-16 15:22:21 -0400101PenaltyBreakBeforeFirstCallParameter: 50
James Feist3cb5fec2018-01-23 14:41:51 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsb7077432024-08-16 15:22:21 -0400105PenaltyBreakTemplateDeclaration: 10
James Feist3cb5fec2018-01-23 14:41:51 -0800106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsb7077432024-08-16 15:22:21 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsb9dd7f82023-10-20 11:20:11 -0500109PointerAlignment: Left
Patrick Williamsdf190612023-05-10 07:51:34 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
James Feist3cb5fec2018-01-23 14:41:51 -0800112ReflowComments: true
Patrick Williamsdf190612023-05-10 07:51:34 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsb9dd7f82023-10-20 11:20:11 -0500115SortIncludes: CaseSensitive
James Feista465ccc2019-02-08 12:51:01 -0800116SortUsingDeclarations: true
James Feist3cb5fec2018-01-23 14:41:51 -0800117SpaceAfterCStyleCast: false
James Feist8c505da2020-05-28 10:06:33 -0700118SpaceAfterTemplateKeyword: true
James Feist3cb5fec2018-01-23 14:41:51 -0800119SpaceBeforeAssignmentOperators: true
James Feist8c505da2020-05-28 10:06:33 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
James Feist3cb5fec2018-01-23 14:41:51 -0800123SpaceBeforeParens: ControlStatements
James Feist8c505da2020-05-28 10:06:33 -0700124SpaceBeforeRangeBasedForLoopColon: true
James Feist3cb5fec2018-01-23 14:41:51 -0800125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsb9dd7f82023-10-20 11:20:11 -0500127SpacesInAngles: Never
James Feist3cb5fec2018-01-23 14:41:51 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williamsdf190612023-05-10 07:51:34 -0500132Standard: Latest
James Feist3cb5fec2018-01-23 14:41:51 -0800133TabWidth: 4
134UseTab: Never
James Feist9eb0b582018-04-27 12:15:46 -0700135...
136