blob: 4922cf63310c24bebbb9e53aec72ed5dafd7aa39 [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
James Feist6714a252018-09-10 15:26:18 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
James Feist6714a252018-09-10 15:26:18 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
James Feist38fb5982020-05-28 10:09:54 -070021AlwaysBreakTemplateDeclarations: Yes
James Feist6714a252018-09-10 15:26:18 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
James Feist38fb5982020-05-28 10:09:54 -070025 AfterCaseLabel: true
James Feist6714a252018-09-10 15:26:18 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
James Feist38fb5982020-05-28 10:09:54 -070034 AfterExternBlock: true
James Feist6714a252018-09-10 15:26:18 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
James Feist38fb5982020-05-28 10:09:54 -070038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams779c96a2023-05-10 07:50:42 -050041BreakAfterAttributes: Never
James Feist6714a252018-09-10 15:26:18 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
James Feist38fb5982020-05-28 10:09:54 -070046BreakInheritanceList: AfterColon
Patrick Williams779c96a2023-05-10 07:50:42 -050047BreakStringLiterals: false
James Feist6714a252018-09-10 15:26:18 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
James Feist38fb5982020-05-28 10:09:54 -070050CompactNamespaces: false
James Feist6714a252018-09-10 15:26:18 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams779c96a2023-05-10 07:50:42 -050055DeriveLineEnding: false
James Feistd8705872019-02-08 13:26:09 -080056DerivePointerAlignment: false
James Feist6714a252018-09-10 15:26:18 -070057PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
James Feist38fb5982020-05-28 10:09:54 -070065 Priority: 7
James Feist6714a252018-09-10 15:26:18 -070066 - Regex: '^"config.h"'
67 Priority: -1
James Feist38fb5982020-05-28 10:09:54 -070068 - Regex: '^".*\.h"'
James Feist6714a252018-09-10 15:26:18 -070069 Priority: 1
James Feist38fb5982020-05-28 10:09:54 -070070 - Regex: '^".*\.hpp"'
James Feist6714a252018-09-10 15:26:18 -070071 Priority: 2
James Feist38fb5982020-05-28 10:09:54 -070072 - Regex: '^<.*\.h>'
James Feist6714a252018-09-10 15:26:18 -070073 Priority: 3
James Feist38fb5982020-05-28 10:09:54 -070074 - Regex: '^<.*\.hpp>'
James Feist6714a252018-09-10 15:26:18 -070075 Priority: 4
James Feist38fb5982020-05-28 10:09:54 -070076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
James Feist6714a252018-09-10 15:26:18 -070080IndentCaseLabels: true
Patrick Williams779c96a2023-05-10 07:50:42 -050081IndentExternBlock: NoIndent
82IndentRequiresClause: true
James Feist6714a252018-09-10 15:26:18 -070083IndentWidth: 4
84IndentWrappedFunctionNames: true
Patrick Williams779c96a2023-05-10 07:50:42 -050085InsertNewlineAtEOF: true
86KeepEmptyLinesAtTheStartOfBlocks: false
87LambdaBodyIndentation: OuterScope
88LineEnding: LF
James Feist6714a252018-09-10 15:26:18 -070089MacroBlockBegin: ''
90MacroBlockEnd: ''
91MaxEmptyLinesToKeep: 1
92NamespaceIndentation: None
93ObjCBlockIndentWidth: 2
94ObjCSpaceAfterProperty: false
95ObjCSpaceBeforeProtocolList: true
Patrick Williams779c96a2023-05-10 07:50:42 -050096PenaltyBreakAssignment: 25
James Feist6714a252018-09-10 15:26:18 -070097PenaltyBreakBeforeFirstCallParameter: 19
98PenaltyBreakComment: 300
99PenaltyBreakFirstLessLess: 120
100PenaltyBreakString: 1000
101PenaltyExcessCharacter: 1000000
102PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams779c96a2023-05-10 07:50:42 -0500103PenaltyIndentedWhitespace: 0
104QualifierAlignment: Left
105ReferenceAlignment: Left
James Feist6714a252018-09-10 15:26:18 -0700106ReflowComments: true
Patrick Williams779c96a2023-05-10 07:50:42 -0500107RequiresClausePosition: OwnLine
108RequiresExpressionIndentation: Keyword
James Feist6714a252018-09-10 15:26:18 -0700109SortIncludes: true
James Feistd8705872019-02-08 13:26:09 -0800110SortUsingDeclarations: true
James Feist6714a252018-09-10 15:26:18 -0700111SpaceAfterCStyleCast: false
James Feist38fb5982020-05-28 10:09:54 -0700112SpaceAfterTemplateKeyword: true
James Feist6714a252018-09-10 15:26:18 -0700113SpaceBeforeAssignmentOperators: true
James Feist38fb5982020-05-28 10:09:54 -0700114SpaceBeforeCpp11BracedList: false
115SpaceBeforeCtorInitializerColon: true
116SpaceBeforeInheritanceColon: true
James Feist6714a252018-09-10 15:26:18 -0700117SpaceBeforeParens: ControlStatements
James Feist38fb5982020-05-28 10:09:54 -0700118SpaceBeforeRangeBasedForLoopColon: true
James Feist6714a252018-09-10 15:26:18 -0700119SpaceInEmptyParentheses: false
120SpacesBeforeTrailingComments: 1
121SpacesInAngles: false
122SpacesInContainerLiterals: true
123SpacesInCStyleCastParentheses: false
124SpacesInParentheses: false
125SpacesInSquareBrackets: false
Patrick Williams779c96a2023-05-10 07:50:42 -0500126Standard: Latest
James Feist6714a252018-09-10 15:26:18 -0700127TabWidth: 4
128UseTab: Never
129...
James Feistd8705872019-02-08 13:26:09 -0800130