]> granicus.if.org Git - libvpx/blob - .clang-format
Merge "vpx_scale: apply clang-format"
[libvpx] / .clang-format
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  Google
4 # Generated with clang-format 3.7.1
5 AccessModifierOffset: -1
6 AlignAfterOpenBracket: true
7 AlignConsecutiveAssignments: false
8 AlignEscapedNewlinesLeft: true
9 AlignOperands:   true
10 AlignTrailingComments: true
11 AllowAllParametersOfDeclarationOnNextLine: true
12 AllowShortBlocksOnASingleLine: false
13 AllowShortCaseLabelsOnASingleLine: true
14 AllowShortFunctionsOnASingleLine: All
15 AllowShortIfStatementsOnASingleLine: true
16 AllowShortLoopsOnASingleLine: true
17 AlwaysBreakAfterDefinitionReturnType: None
18 AlwaysBreakBeforeMultilineStrings: true
19 AlwaysBreakTemplateDeclarations: true
20 BinPackArguments: true
21 BinPackParameters: true
22 BreakBeforeBinaryOperators: None
23 BreakBeforeBraces: Attach
24 BreakBeforeTernaryOperators: true
25 BreakConstructorInitializersBeforeComma: false
26 ColumnLimit:     80
27 CommentPragmas:  '^ IWYU pragma:'
28 ConstructorInitializerAllOnOneLineOrOnePerLine: false
29 ConstructorInitializerIndentWidth: 4
30 ContinuationIndentWidth: 4
31 Cpp11BracedListStyle: false
32 DerivePointerAlignment: false
33 DisableFormat:   false
34 ExperimentalAutoDetectBinPacking: false
35 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
36 IndentCaseLabels: true
37 IndentWidth:     2
38 IndentWrappedFunctionNames: false
39 KeepEmptyLinesAtTheStartOfBlocks: false
40 MacroBlockBegin: ''
41 MacroBlockEnd:   ''
42 MaxEmptyLinesToKeep: 1
43 NamespaceIndentation: None
44 ObjCBlockIndentWidth: 2
45 ObjCSpaceAfterProperty: false
46 ObjCSpaceBeforeProtocolList: false
47 PenaltyBreakBeforeFirstCallParameter: 1
48 PenaltyBreakComment: 300
49 PenaltyBreakFirstLessLess: 120
50 PenaltyBreakString: 1000
51 PenaltyExcessCharacter: 1000000
52 PenaltyReturnTypeOnItsOwnLine: 200
53 PointerAlignment: Right
54 SpaceAfterCStyleCast: false
55 SpaceBeforeAssignmentOperators: true
56 SpaceBeforeParens: ControlStatements
57 SpaceInEmptyParentheses: false
58 SpacesBeforeTrailingComments: 2
59 SpacesInAngles:  false
60 SpacesInContainerLiterals: true
61 SpacesInCStyleCastParentheses: false
62 SpacesInParentheses: false
63 SpacesInSquareBrackets: false
64 Standard:        Auto
65 TabWidth:        8
66 UseTab:          Never
67 ...
68