blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [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 -080020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
James Feist8c505da2020-05-28 10:06:33 -070022AlwaysBreakTemplateDeclarations: Yes
James Feist3cb5fec2018-01-23 14:41:51 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050025BitFieldColonSpacing: None
James Feist3cb5fec2018-01-23 14:41:51 -080026BraceWrapping:
James Feist8c505da2020-05-28 10:06:33 -070027 AfterCaseLabel: true
James Feist3cb5fec2018-01-23 14:41:51 -080028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050031 AfterExternBlock: true
James Feist3cb5fec2018-01-23 14:41:51 -080032 AfterFunction: true
James Feistc72f8c22018-04-30 13:05:11 -070033 AfterNamespace: true
James Feist3cb5fec2018-01-23 14:41:51 -080034 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamsb9dd7f82023-10-20 11:20:11 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
James Feist3cb5fec2018-01-23 14:41:51 -080041 IndentBraces: false
James Feist8c505da2020-05-28 10:06:33 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williamsdf190612023-05-10 07:51:34 -050045BreakAfterAttributes: Never
James Feist3cb5fec2018-01-23 14:41:51 -080046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
James Feistc72f8c22018-04-30 13:05:11 -070049BreakConstructorInitializers: AfterColon
James Feist8c505da2020-05-28 10:06:33 -070050BreakInheritanceList: AfterColon
Patrick Williamsdf190612023-05-10 07:51:34 -050051BreakStringLiterals: false
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
90LambdaBodyIndentation: OuterScope
91LineEnding: 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
James Feist3cb5fec2018-01-23 14:41:51 -0800101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsdf190612023-05-10 07:51:34 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamsb9dd7f82023-10-20 11:20:11 -0500108PointerAlignment: Left
Patrick Williamsdf190612023-05-10 07:51:34 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
James Feist3cb5fec2018-01-23 14:41:51 -0800111ReflowComments: true
Patrick Williamsdf190612023-05-10 07:51:34 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williamsb9dd7f82023-10-20 11:20:11 -0500114SortIncludes: CaseSensitive
James Feista465ccc2019-02-08 12:51:01 -0800115SortUsingDeclarations: true
James Feist3cb5fec2018-01-23 14:41:51 -0800116SpaceAfterCStyleCast: false
James Feist8c505da2020-05-28 10:06:33 -0700117SpaceAfterTemplateKeyword: true
James Feist3cb5fec2018-01-23 14:41:51 -0800118SpaceBeforeAssignmentOperators: true
James Feist8c505da2020-05-28 10:06:33 -0700119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
James Feist3cb5fec2018-01-23 14:41:51 -0800122SpaceBeforeParens: ControlStatements
James Feist8c505da2020-05-28 10:06:33 -0700123SpaceBeforeRangeBasedForLoopColon: true
James Feist3cb5fec2018-01-23 14:41:51 -0800124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamsb9dd7f82023-10-20 11:20:11 -0500126SpacesInAngles: Never
James Feist3cb5fec2018-01-23 14:41:51 -0800127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
Patrick Williamsdf190612023-05-10 07:51:34 -0500131Standard: Latest
James Feist3cb5fec2018-01-23 14:41:51 -0800132TabWidth: 4
133UseTab: Never
James Feist9eb0b582018-04-27 12:15:46 -0700134...
135