1---
2# Mapbox.Variant C/C+ style
3Language:        Cpp
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlinesLeft: false
9AlignOperands:   true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: All
15AllowShortIfStatementsOnASingleLine: true
16AllowShortLoopsOnASingleLine: true
17AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
19AlwaysBreakBeforeMultilineStrings: false
20AlwaysBreakTemplateDeclarations: true
21BinPackArguments: true
22BinPackParameters: true
23BraceWrapping:
24  AfterClass:      true
25  AfterControlStatement: true
26  AfterEnum:       true
27  AfterFunction:   true
28  AfterNamespace:  false
29  AfterObjCDeclaration: true
30  AfterStruct:     true
31  AfterUnion:      true
32  BeforeCatch:     true
33  BeforeElse:      true
34  IndentBraces:    false
35BreakBeforeBinaryOperators: None
36BreakBeforeBraces: Custom
37BreakBeforeTernaryOperators: true
38BreakConstructorInitializersBeforeComma: false
39ColumnLimit:     0
40CommentPragmas:  '^ IWYU pragma:'
41ConstructorInitializerAllOnOneLineOrOnePerLine: true
42ConstructorInitializerIndentWidth: 4
43ContinuationIndentWidth: 4
44Cpp11BracedListStyle: true
45DerivePointerAlignment: false
46DisableFormat:   false
47ExperimentalAutoDetectBinPacking: false
48ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
49IncludeCategories:
50  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
51    Priority:        2
52  - Regex:           '^(<|"(gtest|isl|json)/)'
53    Priority:        3
54  - Regex:           '.*'
55    Priority:        1
56IndentCaseLabels: false
57IndentWidth:     4
58IndentWrappedFunctionNames: false
59KeepEmptyLinesAtTheStartOfBlocks: true
60MacroBlockBegin: ''
61MacroBlockEnd:   ''
62MaxEmptyLinesToKeep: 1
63NamespaceIndentation: None
64ObjCBlockIndentWidth: 2
65ObjCSpaceAfterProperty: false
66ObjCSpaceBeforeProtocolList: true
67PenaltyBreakBeforeFirstCallParameter: 19
68PenaltyBreakComment: 300
69PenaltyBreakFirstLessLess: 120
70PenaltyBreakString: 1000
71PenaltyExcessCharacter: 1000000
72PenaltyReturnTypeOnItsOwnLine: 60
73PointerAlignment: Left
74ReflowComments:  true
75SortIncludes:    true
76SpaceAfterCStyleCast: false
77SpaceBeforeAssignmentOperators: true
78SpaceBeforeParens: ControlStatements
79SpaceInEmptyParentheses: false
80SpacesBeforeTrailingComments: 1
81SpacesInAngles:  false
82SpacesInContainerLiterals: true
83SpacesInCStyleCastParentheses: false
84SpacesInParentheses: false
85SpacesInSquareBrackets: false
86Standard:        Cpp11
87TabWidth:        4
88UseTab:          Never