blob: d17cf52d4b38a0f51ef0e3e8faa5a672481e30a1 [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
Ed Tanous1abe55e2018-09-05 08:30:59 -07008AlignEscapedNewlinesLeft: false
Ed Tanous99923322017-03-03 14:21:24 -08009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070014AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Ed Tanous99923322017-03-03 14:21:24 -080017AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070019AlwaysBreakBeforeMultilineStrings: false
20AlwaysBreakTemplateDeclarations: false
Ed Tanous99923322017-03-03 14:21:24 -080021BinPackArguments: true
22BinPackParameters: true
Ed Tanous55c7b7a2018-05-22 15:27:24 -070023BraceWrapping:
Gunnar Mills54f7dda2020-05-22 09:45:53 -050024 AfterCaseLabel: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070025 AfterClass: true
26 AfterControlStatement: true
27 AfterEnum: true
28 AfterFunction: true
29 AfterNamespace: true
30 AfterObjCDeclaration: true
31 AfterStruct: true
32 AfterUnion: true
33 BeforeCatch: true
34 BeforeElse: true
Ed Tanous99923322017-03-03 14:21:24 -080035 IndentBraces: false
36BreakBeforeBinaryOperators: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070037BreakBeforeBraces: Custom
Ed Tanous99923322017-03-03 14:21:24 -080038BreakBeforeTernaryOperators: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070039BreakConstructorInitializers: AfterColon
Ed Tanous1ccd57c2017-03-21 13:15:58 -070040ColumnLimit: 80
Ed Tanous99923322017-03-03 14:21:24 -080041CommentPragmas: '^ IWYU pragma:'
Ed Tanous1abe55e2018-09-05 08:30:59 -070042ConstructorInitializerAllOnOneLineOrOnePerLine: false
Ed Tanous99923322017-03-03 14:21:24 -080043ConstructorInitializerIndentWidth: 4
44ContinuationIndentWidth: 4
45Cpp11BracedListStyle: true
46DerivePointerAlignment: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070047PointerAlignment: Left
Ed Tanous99923322017-03-03 14:21:24 -080048DisableFormat: false
49ExperimentalAutoDetectBinPacking: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070050FixNamespaceComments: true
Ed Tanous99923322017-03-03 14:21:24 -080051ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Ed Tanous1abe55e2018-09-05 08:30:59 -070052IncludeBlocks: Regroup
Ed Tanous55c7b7a2018-05-22 15:27:24 -070053IncludeCategories:
Ed Tanous9140a672017-04-24 17:01:32 -070054 - Regex: '^[<"](gtest|gmock)'
Ed Tanous1abe55e2018-09-05 08:30:59 -070055 Priority: 5
56 - Regex: '^"config.h"'
57 Priority: -1
58 - Regex: '^".*\.hpp"'
Ed Tanous99923322017-03-03 14:21:24 -080059 Priority: 1
Ed Tanous1abe55e2018-09-05 08:30:59 -070060 - Regex: '^<.*\.h>'
Ed Tanous99923322017-03-03 14:21:24 -080061 Priority: 2
Ed Tanous9140a672017-04-24 17:01:32 -070062 - Regex: '^<.*'
Ed Tanous99923322017-03-03 14:21:24 -080063 Priority: 3
Ed Tanous9140a672017-04-24 17:01:32 -070064 - Regex: '.*'
65 Priority: 4
Ed Tanous99923322017-03-03 14:21:24 -080066IndentCaseLabels: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070067IndentWidth: 4
68IndentWrappedFunctionNames: true
69KeepEmptyLinesAtTheStartOfBlocks: true
Ed Tanous99923322017-03-03 14:21:24 -080070MacroBlockBegin: ''
71MacroBlockEnd: ''
72MaxEmptyLinesToKeep: 1
73NamespaceIndentation: None
74ObjCBlockIndentWidth: 2
75ObjCSpaceAfterProperty: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070076ObjCSpaceBeforeProtocolList: true
77PenaltyBreakBeforeFirstCallParameter: 19
Ed Tanous99923322017-03-03 14:21:24 -080078PenaltyBreakComment: 300
79PenaltyBreakFirstLessLess: 120
80PenaltyBreakString: 1000
81PenaltyExcessCharacter: 1000000
Ed Tanous1abe55e2018-09-05 08:30:59 -070082PenaltyReturnTypeOnItsOwnLine: 60
83PointerAlignment: Right
Ed Tanous99923322017-03-03 14:21:24 -080084ReflowComments: true
Ed Tanous1ff48782017-04-18 12:45:08 -070085SortIncludes: true
Ed Tanous99923322017-03-03 14:21:24 -080086SpaceAfterCStyleCast: false
87SpaceBeforeAssignmentOperators: true
88SpaceBeforeParens: ControlStatements
89SpaceInEmptyParentheses: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070090SpacesBeforeTrailingComments: 1
Ed Tanous99923322017-03-03 14:21:24 -080091SpacesInAngles: false
92SpacesInContainerLiterals: true
93SpacesInCStyleCastParentheses: false
94SpacesInParentheses: false
95SpacesInSquareBrackets: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070096Standard: Cpp11
97TabWidth: 4
Ed Tanous99923322017-03-03 14:21:24 -080098UseTab: Never
99...