]> granicus.if.org Git - libvpx/blob - .clang-format
Merge "Support building AVX-512 and implement sadx4 for AVX-512"
[libvpx] / .clang-format
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  Google
4 # Generated with clang-format 4.0.1
5 AccessModifierOffset: -1
6 AlignAfterOpenBracket: Align
7 AlignConsecutiveAssignments: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlinesLeft: true
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 BreakBeforeBinaryOperators: None
37 BreakBeforeBraces: Attach
38 BreakBeforeTernaryOperators: true
39 BreakConstructorInitializersBeforeComma: false
40 BreakAfterJavaFieldAnnotations: false
41 BreakStringLiterals: true
42 ColumnLimit:     80
43 CommentPragmas:  '^ IWYU pragma:'
44 ConstructorInitializerAllOnOneLineOrOnePerLine: false
45 ConstructorInitializerIndentWidth: 4
46 ContinuationIndentWidth: 4
47 Cpp11BracedListStyle: false
48 DerivePointerAlignment: false
49 DisableFormat:   false
50 ExperimentalAutoDetectBinPacking: false
51 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
52 IncludeCategories:
53   - Regex:           '^<.*\.h>'
54     Priority:        1
55   - Regex:           '^<.*'
56     Priority:        2
57   - Regex:           '.*'
58     Priority:        3
59 IncludeIsMainRegex: '([-_](test|unittest))?$'
60 IndentCaseLabels: true
61 IndentWidth:     2
62 IndentWrappedFunctionNames: false
63 JavaScriptQuotes: Leave
64 JavaScriptWrapImports: true
65 KeepEmptyLinesAtTheStartOfBlocks: false
66 MacroBlockBegin: ''
67 MacroBlockEnd:   ''
68 MaxEmptyLinesToKeep: 1
69 NamespaceIndentation: None
70 ObjCBlockIndentWidth: 2
71 ObjCSpaceAfterProperty: false
72 ObjCSpaceBeforeProtocolList: false
73 PenaltyBreakBeforeFirstCallParameter: 1
74 PenaltyBreakComment: 300
75 PenaltyBreakFirstLessLess: 120
76 PenaltyBreakString: 1000
77 PenaltyExcessCharacter: 1000000
78 PenaltyReturnTypeOnItsOwnLine: 200
79 PointerAlignment: Right
80 ReflowComments:  true
81 SortIncludes:    false
82 SpaceAfterCStyleCast: false
83 SpaceAfterTemplateKeyword: true
84 SpaceBeforeAssignmentOperators: true
85 SpaceBeforeParens: ControlStatements
86 SpaceInEmptyParentheses: false
87 SpacesBeforeTrailingComments: 2
88 SpacesInAngles:  false
89 SpacesInContainerLiterals: true
90 SpacesInCStyleCastParentheses: false
91 SpacesInParentheses: false
92 SpacesInSquareBrackets: false
93 Standard:        Auto
94 TabWidth:        8
95 UseTab:          Never
96 ...
97