blob: 41f2211fa50b7fe14cd274d11de372b5335b4ff4 [file] [log] [blame]
Patrick Venturedace6802018-11-01 16:52:10 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams39084b42023-05-10 07:50:58 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venturedace6802018-11-01 16:52:10 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams39084b42023-05-10 07:50:58 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venturedace6802018-11-01 16:52:10 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams39084b42023-05-10 07:50:58 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Venturedace6802018-11-01 16:52:10 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Venturedace6802018-11-01 16:52:10 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Patrick Williams39084b42023-05-10 07:50:58 -050021AlwaysBreakTemplateDeclarations: Yes
Patrick Venturedace6802018-11-01 16:52:10 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Patrick Williams39084b42023-05-10 07:50:58 -050025 AfterCaseLabel: true
Patrick Venturedace6802018-11-01 16:52:10 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Patrick Williams39084b42023-05-10 07:50:58 -050034 AfterExternBlock: true
Patrick Venturedace6802018-11-01 16:52:10 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Patrick Williams39084b42023-05-10 07:50:58 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
41BreakAfterAttributes: Never
Patrick Venturedace6802018-11-01 16:52:10 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Patrick Williams39084b42023-05-10 07:50:58 -050046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Patrick Venturedace6802018-11-01 16:52:10 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Patrick Williams39084b42023-05-10 07:50:58 -050050CompactNamespaces: false
Patrick Venturedace6802018-11-01 16:52:10 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams39084b42023-05-10 07:50:58 -050055DeriveLineEnding: false
Patrick Venturedace6802018-11-01 16:52:10 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Patrick Williams39084b42023-05-10 07:50:58 -050065 Priority: 7
Patrick Venturedace6802018-11-01 16:52:10 -070066 - Regex: '^"config.h"'
67 Priority: -1
Patrick Williams39084b42023-05-10 07:50:58 -050068 - Regex: '^".*\.h"'
Patrick Venturedace6802018-11-01 16:52:10 -070069 Priority: 1
Patrick Williams39084b42023-05-10 07:50:58 -050070 - Regex: '^".*\.hpp"'
Patrick Venturedace6802018-11-01 16:52:10 -070071 Priority: 2
Patrick Williams39084b42023-05-10 07:50:58 -050072 - Regex: '^<.*\.h>'
Patrick Venturedace6802018-11-01 16:52:10 -070073 Priority: 3
Patrick Williams39084b42023-05-10 07:50:58 -050074 - Regex: '^<.*\.hpp>'
Patrick Venturedace6802018-11-01 16:52:10 -070075 Priority: 4
Patrick Williams39084b42023-05-10 07:50:58 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Venturedace6802018-11-01 16:52:10 -070080IndentCaseLabels: true
George Liu83990b02023-08-01 14:00:20 +080081IndentExternBlock: NoIndent
Patrick Williams39084b42023-05-10 07:50:58 -050082IndentRequiresClause: true
Patrick Venturedace6802018-11-01 16:52:10 -070083IndentWidth: 4
84IndentWrappedFunctionNames: true
Patrick Williams39084b42023-05-10 07:50:58 -050085InsertNewlineAtEOF: true
86KeepEmptyLinesAtTheStartOfBlocks: false
87LambdaBodyIndentation: OuterScope
88LineEnding: LF
Patrick Venturedace6802018-11-01 16:52:10 -070089MacroBlockBegin: ''
90MacroBlockEnd: ''
91MaxEmptyLinesToKeep: 1
92NamespaceIndentation: None
93ObjCBlockIndentWidth: 2
94ObjCSpaceAfterProperty: false
95ObjCSpaceBeforeProtocolList: true
Patrick Williams39084b42023-05-10 07:50:58 -050096PenaltyBreakAssignment: 25
Patrick Venturedace6802018-11-01 16:52:10 -070097PenaltyBreakBeforeFirstCallParameter: 19
98PenaltyBreakComment: 300
99PenaltyBreakFirstLessLess: 120
100PenaltyBreakString: 1000
101PenaltyExcessCharacter: 1000000
102PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams39084b42023-05-10 07:50:58 -0500103PenaltyIndentedWhitespace: 0
104QualifierAlignment: Left
105ReferenceAlignment: Left
Patrick Venturedace6802018-11-01 16:52:10 -0700106ReflowComments: true
Patrick Williams39084b42023-05-10 07:50:58 -0500107RequiresClausePosition: OwnLine
108RequiresExpressionIndentation: Keyword
Patrick Venturedace6802018-11-01 16:52:10 -0700109SortIncludes: true
110SortUsingDeclarations: true
111SpaceAfterCStyleCast: false
Patrick Williams39084b42023-05-10 07:50:58 -0500112SpaceAfterTemplateKeyword: true
Patrick Venturedace6802018-11-01 16:52:10 -0700113SpaceBeforeAssignmentOperators: true
Patrick Williams39084b42023-05-10 07:50:58 -0500114SpaceBeforeCpp11BracedList: false
115SpaceBeforeCtorInitializerColon: true
116SpaceBeforeInheritanceColon: true
Patrick Venturedace6802018-11-01 16:52:10 -0700117SpaceBeforeParens: ControlStatements
Patrick Williams39084b42023-05-10 07:50:58 -0500118SpaceBeforeRangeBasedForLoopColon: true
Patrick Venturedace6802018-11-01 16:52:10 -0700119SpaceInEmptyParentheses: false
120SpacesBeforeTrailingComments: 1
121SpacesInAngles: false
122SpacesInContainerLiterals: true
123SpacesInCStyleCastParentheses: false
124SpacesInParentheses: false
125SpacesInSquareBrackets: false
Patrick Williams39084b42023-05-10 07:50:58 -0500126Standard: Latest
Patrick Venturedace6802018-11-01 16:52:10 -0700127TabWidth: 4
128UseTab: Never
129...