blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [file] [log] [blame]
James Feist6714a252018-09-10 15:26:18 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
James Feist38fb5982020-05-28 10:09:54 -07008AlignEscapedNewlines: Right
Patrick Williams779c96a2023-05-10 07:50:42 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
James Feist6714a252018-09-10 15:26:18 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams779c96a2023-05-10 07:50:42 -050014AllowShortBlocksOnASingleLine: Empty
James Feist6714a252018-09-10 15:26:18 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams779c96a2023-05-10 07:50:42 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams597e8422023-10-20 11:19:01 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
James Feist6714a252018-09-10 15:26:18 -070019AllowShortLoopsOnASingleLine: false
James Feist6714a252018-09-10 15:26:18 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
James Feist38fb5982020-05-28 10:09:54 -070022AlwaysBreakTemplateDeclarations: Yes
James Feist6714a252018-09-10 15:26:18 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williams597e8422023-10-20 11:19:01 -050025BitFieldColonSpacing: None
James Feist6714a252018-09-10 15:26:18 -070026BraceWrapping:
James Feist38fb5982020-05-28 10:09:54 -070027 AfterCaseLabel: true
James Feist6714a252018-09-10 15:26:18 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams597e8422023-10-20 11:19:01 -050031 AfterExternBlock: true
James Feist6714a252018-09-10 15:26:18 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams597e8422023-10-20 11:19:01 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
James Feist6714a252018-09-10 15:26:18 -070041 IndentBraces: false
James Feist38fb5982020-05-28 10:09:54 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams779c96a2023-05-10 07:50:42 -050045BreakAfterAttributes: Never
James Feist6714a252018-09-10 15:26:18 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
James Feist38fb5982020-05-28 10:09:54 -070050BreakInheritanceList: AfterColon
Patrick Williams779c96a2023-05-10 07:50:42 -050051BreakStringLiterals: false
James Feist6714a252018-09-10 15:26:18 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
James Feist38fb5982020-05-28 10:09:54 -070054CompactNamespaces: false
James Feist6714a252018-09-10 15:26:18 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
James Feistd8705872019-02-08 13:26:09 -080058DerivePointerAlignment: false
James Feist6714a252018-09-10 15:26:18 -070059DisableFormat: false
James Feist6714a252018-09-10 15:26:18 -070060FixNamespaceComments: true
Patrick Williams597e8422023-10-20 11:19:01 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
James Feist6714a252018-09-10 15:26:18 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
James Feist38fb5982020-05-28 10:09:54 -070068 Priority: 7
James Feist6714a252018-09-10 15:26:18 -070069 - Regex: '^"config.h"'
70 Priority: -1
James Feist38fb5982020-05-28 10:09:54 -070071 - Regex: '^".*\.h"'
James Feist6714a252018-09-10 15:26:18 -070072 Priority: 1
James Feist38fb5982020-05-28 10:09:54 -070073 - Regex: '^".*\.hpp"'
James Feist6714a252018-09-10 15:26:18 -070074 Priority: 2
James Feist38fb5982020-05-28 10:09:54 -070075 - Regex: '^<.*\.h>'
James Feist6714a252018-09-10 15:26:18 -070076 Priority: 3
James Feist38fb5982020-05-28 10:09:54 -070077 - Regex: '^<.*\.hpp>'
James Feist6714a252018-09-10 15:26:18 -070078 Priority: 4
James Feist38fb5982020-05-28 10:09:54 -070079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
James Feist6714a252018-09-10 15:26:18 -070083IndentCaseLabels: true
Patrick Williams779c96a2023-05-10 07:50:42 -050084IndentExternBlock: NoIndent
85IndentRequiresClause: true
James Feist6714a252018-09-10 15:26:18 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams779c96a2023-05-10 07:50:42 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams2aaf7172024-08-16 15:20:40 -040090LambdaBodyIndentation: Signature
Patrick Williams779c96a2023-05-10 07:50:42 -050091LineEnding: LF
James Feist6714a252018-09-10 15:26:18 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams597e8422023-10-20 11:19:01 -050099PackConstructorInitializers: BinPack
Patrick Williams779c96a2023-05-10 07:50:42 -0500100PenaltyBreakAssignment: 25
Patrick Williams2aaf7172024-08-16 15:20:40 -0400101PenaltyBreakBeforeFirstCallParameter: 50
James Feist6714a252018-09-10 15:26:18 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams2aaf7172024-08-16 15:20:40 -0400105PenaltyBreakTemplateDeclaration: 10
James Feist6714a252018-09-10 15:26:18 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams2aaf7172024-08-16 15:20:40 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams597e8422023-10-20 11:19:01 -0500109PointerAlignment: Left
Patrick Williams779c96a2023-05-10 07:50:42 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
James Feist6714a252018-09-10 15:26:18 -0700112ReflowComments: true
Patrick Williams779c96a2023-05-10 07:50:42 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams597e8422023-10-20 11:19:01 -0500115SortIncludes: CaseSensitive
James Feistd8705872019-02-08 13:26:09 -0800116SortUsingDeclarations: true
James Feist6714a252018-09-10 15:26:18 -0700117SpaceAfterCStyleCast: false
James Feist38fb5982020-05-28 10:09:54 -0700118SpaceAfterTemplateKeyword: true
James Feist6714a252018-09-10 15:26:18 -0700119SpaceBeforeAssignmentOperators: true
James Feist38fb5982020-05-28 10:09:54 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
James Feist6714a252018-09-10 15:26:18 -0700123SpaceBeforeParens: ControlStatements
James Feist38fb5982020-05-28 10:09:54 -0700124SpaceBeforeRangeBasedForLoopColon: true
James Feist6714a252018-09-10 15:26:18 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams597e8422023-10-20 11:19:01 -0500127SpacesInAngles: Never
James Feist6714a252018-09-10 15:26:18 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams779c96a2023-05-10 07:50:42 -0500132Standard: Latest
James Feist6714a252018-09-10 15:26:18 -0700133TabWidth: 4
134UseTab: Never
135...
James Feistd8705872019-02-08 13:26:09 -0800136