Backed out 3 changesets (bug 1790375) for causing wd failures on fetch_error.py....
[gecko.git] / third_party / aom / .clang-format
blobe76a526e4b9b86dbd35b2e82e7ba0777610bccde
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  Google
4 # Generated with clang-format 5.0.0
5 AccessModifierOffset: -1
6 AlignAfterOpenBracket: Align
7 AlignConsecutiveAssignments: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: Left
10 AlignOperands:   true
11 AlignTrailingComments: true
12 AllowAllParametersOfDeclarationOnNextLine: true
13 AllowShortBlocksOnASingleLine: false
14 AllowShortCaseLabelsOnASingleLine: true
15 AllowShortFunctionsOnASingleLine: All
16 AllowShortIfStatementsOnASingleLine: true
17 AllowShortLoopsOnASingleLine: true
18 AlwaysBreakAfterDefinitionReturnType: None
19 AlwaysBreakAfterReturnType: None
20 AlwaysBreakBeforeMultilineStrings: true
21 AlwaysBreakTemplateDeclarations: true
22 BinPackArguments: true
23 BinPackParameters: true
24 BraceWrapping:
25   AfterClass:      false
26   AfterControlStatement: false
27   AfterEnum:       false
28   AfterFunction:   false
29   AfterNamespace:  false
30   AfterObjCDeclaration: false
31   AfterStruct:     false
32   AfterUnion:      false
33   BeforeCatch:     false
34   BeforeElse:      false
35   IndentBraces:    false
36   SplitEmptyFunction: true
37   SplitEmptyRecord: true
38   SplitEmptyNamespace: true
39 BreakBeforeBinaryOperators: None
40 BreakBeforeBraces: Attach
41 BreakBeforeInheritanceComma: false
42 BreakBeforeTernaryOperators: true
43 BreakConstructorInitializersBeforeComma: false
44 BreakConstructorInitializers: BeforeColon
45 BreakAfterJavaFieldAnnotations: false
46 BreakStringLiterals: true
47 ColumnLimit:     80
48 CommentPragmas:  '^ IWYU pragma:'
49 CompactNamespaces: false
50 ConstructorInitializerAllOnOneLineOrOnePerLine: false
51 ConstructorInitializerIndentWidth: 4
52 ContinuationIndentWidth: 4
53 Cpp11BracedListStyle: false
54 DerivePointerAlignment: false
55 DisableFormat:   false
56 ExperimentalAutoDetectBinPacking: false
57 FixNamespaceComments: true
58 ForEachMacros:
59   - foreach
60   - Q_FOREACH
61   - BOOST_FOREACH
62 IncludeCategories:
63   - Regex:           '^<.*\.h>'
64     Priority:        1
65   - Regex:           '^<.*'
66     Priority:        2
67   - Regex:           '.*'
68     Priority:        3
69 IncludeIsMainRegex: '([-_](test|unittest))?$'
70 IndentCaseLabels: true
71 IndentWidth:     2
72 IndentWrappedFunctionNames: false
73 JavaScriptQuotes: Leave
74 JavaScriptWrapImports: true
75 KeepEmptyLinesAtTheStartOfBlocks: false
76 MacroBlockBegin: ''
77 MacroBlockEnd:   ''
78 MaxEmptyLinesToKeep: 1
79 NamespaceIndentation: None
80 ObjCBlockIndentWidth: 2
81 ObjCSpaceAfterProperty: false
82 ObjCSpaceBeforeProtocolList: false
83 PenaltyBreakAssignment: 2
84 PenaltyBreakBeforeFirstCallParameter: 1
85 PenaltyBreakComment: 300
86 PenaltyBreakFirstLessLess: 120
87 PenaltyBreakString: 1000
88 PenaltyExcessCharacter: 1000000
89 PenaltyReturnTypeOnItsOwnLine: 200
90 PointerAlignment: Right
91 ReflowComments:  true
92 SortIncludes:    false
93 SortUsingDeclarations: true
94 SpaceAfterCStyleCast: false
95 SpaceAfterTemplateKeyword: true
96 SpaceBeforeAssignmentOperators: true
97 SpaceBeforeParens: ControlStatements
98 SpaceInEmptyParentheses: false
99 SpacesBeforeTrailingComments: 2
100 SpacesInAngles:  false
101 SpacesInContainerLiterals: true
102 SpacesInCStyleCastParentheses: false
103 SpacesInParentheses: false
104 SpacesInSquareBrackets: false
105 Standard:        Auto
106 TabWidth:        8
107 UseTab:          Never