blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Ed Tanous99923322017-03-03 14:21:24 -08001---
Ed Tanous1abe55e2018-09-05 08:30:59 -07002Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
Ed Tanous99923322017-03-03 14:21:24 -08005AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -05008AlignEscapedNewlines: Right
Patrick Williams89492a12023-05-10 07:51:34 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Ed Tanous99923322017-03-03 14:21:24 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams89492a12023-05-10 07:51:34 -050014AllowShortBlocksOnASingleLine: Empty
Ed Tanous99923322017-03-03 14:21:24 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams89492a12023-05-10 07:51:34 -050016AllowShortFunctionsOnASingleLine: Empty
Ed Tanous1abe55e2018-09-05 08:30:59 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Ed Tanous99923322017-03-03 14:21:24 -080019AlwaysBreakAfterReturnType: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070020AlwaysBreakBeforeMultilineStrings: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050021AlwaysBreakTemplateDeclarations: Yes
Ed Tanous99923322017-03-03 14:21:24 -080022BinPackArguments: true
23BinPackParameters: true
Ed Tanous55c7b7a2018-05-22 15:27:24 -070024BraceWrapping:
Gunnar Mills1214b7e2020-06-04 10:11:30 -050025 AfterCaseLabel: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -050034 AfterExternBlock: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070035 BeforeCatch: true
36 BeforeElse: true
Ed Tanous99923322017-03-03 14:21:24 -080037 IndentBraces: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams89492a12023-05-10 07:51:34 -050041BreakAfterAttributes: Never
Ed Tanous99923322017-03-03 14:21:24 -080042BreakBeforeBinaryOperators: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070043BreakBeforeBraces: Custom
Ed Tanous99923322017-03-03 14:21:24 -080044BreakBeforeTernaryOperators: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070045BreakConstructorInitializers: AfterColon
Gunnar Mills1214b7e2020-06-04 10:11:30 -050046BreakInheritanceList: AfterColon
George Liu0fda0f12021-11-16 10:06:17 +080047BreakStringLiterals: false
Ed Tanous1ccd57c2017-03-21 13:15:58 -070048ColumnLimit: 80
Ed Tanous99923322017-03-03 14:21:24 -080049CommentPragmas: '^ IWYU pragma:'
Gunnar Mills1214b7e2020-06-04 10:11:30 -050050CompactNamespaces: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
Ed Tanous99923322017-03-03 14:21:24 -080052ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams89492a12023-05-10 07:51:34 -050055DeriveLineEnding: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050056DerivePointerAlignment: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070057PointerAlignment: Left
Ed Tanous99923322017-03-03 14:21:24 -080058DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070060FixNamespaceComments: true
Ed Tanous99923322017-03-03 14:21:24 -080061ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Ed Tanous1abe55e2018-09-05 08:30:59 -070062IncludeBlocks: Regroup
Ed Tanous55c7b7a2018-05-22 15:27:24 -070063IncludeCategories:
Ed Tanous9140a672017-04-24 17:01:32 -070064 - Regex: '^[<"](gtest|gmock)'
Gunnar Mills1214b7e2020-06-04 10:11:30 -050065 Priority: 7
Ed Tanous1abe55e2018-09-05 08:30:59 -070066 - Regex: '^"config.h"'
67 Priority: -1
Gunnar Mills1214b7e2020-06-04 10:11:30 -050068 - Regex: '^".*\.h"'
Ed Tanous99923322017-03-03 14:21:24 -080069 Priority: 1
Gunnar Mills1214b7e2020-06-04 10:11:30 -050070 - Regex: '^".*\.hpp"'
Ed Tanous99923322017-03-03 14:21:24 -080071 Priority: 2
Gunnar Mills1214b7e2020-06-04 10:11:30 -050072 - Regex: '^<.*\.h>'
Ed Tanous99923322017-03-03 14:21:24 -080073 Priority: 3
Gunnar Mills1214b7e2020-06-04 10:11:30 -050074 - Regex: '^<.*\.hpp>'
Ed Tanous9140a672017-04-24 17:01:32 -070075 Priority: 4
Gunnar Mills1214b7e2020-06-04 10:11:30 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Ed Tanous99923322017-03-03 14:21:24 -080080IndentCaseLabels: true
Patrick Williams89492a12023-05-10 07:51:34 -050081IndentRequiresClause: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams89492a12023-05-10 07:51:34 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Ed Tanous99923322017-03-03 14:21:24 -080088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070094ObjCSpaceBeforeProtocolList: true
Patrick Williams89492a12023-05-10 07:51:34 -050095PenaltyBreakAssignment: 25
Ed Tanous1abe55e2018-09-05 08:30:59 -070096PenaltyBreakBeforeFirstCallParameter: 19
Ed Tanous99923322017-03-03 14:21:24 -080097PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
Ed Tanous1abe55e2018-09-05 08:30:59 -0700101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams89492a12023-05-10 07:51:34 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Ed Tanous99923322017-03-03 14:21:24 -0800105ReflowComments: true
Patrick Williams89492a12023-05-10 07:51:34 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Ed Tanous1ff48782017-04-18 12:45:08 -0700108SortIncludes: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500109SortUsingDeclarations: true
Ed Tanous99923322017-03-03 14:21:24 -0800110SpaceAfterCStyleCast: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500111SpaceAfterTemplateKeyword: true
Ed Tanous99923322017-03-03 14:21:24 -0800112SpaceBeforeAssignmentOperators: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Ed Tanous99923322017-03-03 14:21:24 -0800116SpaceBeforeParens: ControlStatements
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500117SpaceBeforeRangeBasedForLoopColon: true
Ed Tanous99923322017-03-03 14:21:24 -0800118SpaceInEmptyParentheses: false
Ed Tanous1abe55e2018-09-05 08:30:59 -0700119SpacesBeforeTrailingComments: 1
Ed Tanous99923322017-03-03 14:21:24 -0800120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500125Standard: Latest
Ed Tanous1abe55e2018-09-05 08:30:59 -0700126TabWidth: 4
Ed Tanous99923322017-03-03 14:21:24 -0800127UseTab: Never
128...
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500129