blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Matthew Barth07ba4f02020-05-26 11:11:21 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
Patrick Williams61b73292023-05-10 07:50:12 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Matthew Barth07ba4f02020-05-26 11:11:21 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams61b73292023-05-10 07:50:12 -050014AllowShortBlocksOnASingleLine: Empty
Matthew Barth07ba4f02020-05-26 11:11:21 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams61b73292023-05-10 07:50:12 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams5e15c3b2023-10-20 11:18:11 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Matthew Barth07ba4f02020-05-26 11:11:21 -050019AllowShortLoopsOnASingleLine: false
Matthew Barth07ba4f02020-05-26 11:11:21 -050020AlwaysBreakBeforeMultilineStrings: false
Matthew Barth07ba4f02020-05-26 11:11:21 -050021BinPackArguments: true
22BinPackParameters: true
Patrick Williams5e15c3b2023-10-20 11:18:11 -050023BitFieldColonSpacing: None
Matthew Barth07ba4f02020-05-26 11:11:21 -050024BraceWrapping:
25 AfterCaseLabel: true
26 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams5e15c3b2023-10-20 11:18:11 -050029 AfterExternBlock: true
Matthew Barth07ba4f02020-05-26 11:11:21 -050030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
Matthew Barth07ba4f02020-05-26 11:11:21 -050035 BeforeCatch: true
36 BeforeElse: true
Patrick Williams5e15c3b2023-10-20 11:18:11 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Matthew Barth07ba4f02020-05-26 11:11:21 -050039 IndentBraces: false
40 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams61b73292023-05-10 07:50:12 -050043BreakAfterAttributes: Never
Patrick Williams9da54c02024-12-18 11:20:11 -050044BreakAfterReturnType: Automatic
Matthew Barth07ba4f02020-05-26 11:11:21 -050045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
49BreakInheritanceList: AfterColon
Patrick Williams61b73292023-05-10 07:50:12 -050050BreakStringLiterals: false
Patrick Williams9da54c02024-12-18 11:20:11 -050051BreakTemplateDeclarations: Yes
Matthew Barth07ba4f02020-05-26 11:11:21 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
54CompactNamespaces: false
Matthew Barth07ba4f02020-05-26 11:11:21 -050055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Matthew Barth07ba4f02020-05-26 11:11:21 -050059DisableFormat: false
Matthew Barth07ba4f02020-05-26 11:11:21 -050060FixNamespaceComments: true
Patrick Williams5e15c3b2023-10-20 11:18:11 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Matthew Barth07ba4f02020-05-26 11:11:21 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
68 Priority: 7
69 - Regex: '^"config.h"'
70 Priority: -1
71 - Regex: '^".*\.h"'
72 Priority: 1
73 - Regex: '^".*\.hpp"'
74 Priority: 2
75 - Regex: '^<.*\.h>'
76 Priority: 3
77 - Regex: '^<.*\.hpp>'
78 Priority: 4
79 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
83IndentCaseLabels: true
Patrick Williams5e15c3b2023-10-20 11:18:11 -050084IndentExternBlock: NoIndent
Patrick Williams61b73292023-05-10 07:50:12 -050085IndentRequiresClause: true
Matthew Barth07ba4f02020-05-26 11:11:21 -050086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams61b73292023-05-10 07:50:12 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsdfddd642024-08-16 15:21:51 -040090LambdaBodyIndentation: Signature
Patrick Williams61b73292023-05-10 07:50:12 -050091LineEnding: LF
Matthew Barth07ba4f02020-05-26 11:11:21 -050092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams5e15c3b2023-10-20 11:18:11 -050099PackConstructorInitializers: BinPack
Patrick Williams61b73292023-05-10 07:50:12 -0500100PenaltyBreakAssignment: 25
Patrick Williamsdfddd642024-08-16 15:21:51 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Matthew Barth07ba4f02020-05-26 11:11:21 -0500102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsdfddd642024-08-16 15:21:51 -0400105PenaltyBreakTemplateDeclaration: 10
Matthew Barth07ba4f02020-05-26 11:11:21 -0500106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsdfddd642024-08-16 15:21:51 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams5e15c3b2023-10-20 11:18:11 -0500109PointerAlignment: Left
Patrick Williams61b73292023-05-10 07:50:12 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Matthew Barth07ba4f02020-05-26 11:11:21 -0500112ReflowComments: true
Patrick Williams61b73292023-05-10 07:50:12 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams5e15c3b2023-10-20 11:18:11 -0500115SortIncludes: CaseSensitive
Matthew Barth07ba4f02020-05-26 11:11:21 -0500116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
118SpaceAfterTemplateKeyword: true
119SpaceBeforeAssignmentOperators: true
120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
123SpaceBeforeParens: ControlStatements
124SpaceBeforeRangeBasedForLoopColon: true
125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams5e15c3b2023-10-20 11:18:11 -0500127SpacesInAngles: Never
Matthew Barth07ba4f02020-05-26 11:11:21 -0500128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Matthew Barthc9ec25e2021-03-15 11:26:28 -0500132Standard: Latest
Matthew Barth07ba4f02020-05-26 11:11:21 -0500133TabWidth: 4
134UseTab: Never
135...
136