Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / libwebm / source / .clang-format
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  Google
4 AccessModifierOffset: -1
5 ConstructorInitializerIndentWidth: 4
6 AlignEscapedNewlinesLeft: true
7 AlignTrailingComments: true
8 AllowAllParametersOfDeclarationOnNextLine: true
9 AllowShortIfStatementsOnASingleLine: false
10 AllowShortLoopsOnASingleLine: false
11 AllowShortFunctionsOnASingleLine: true
12 AlwaysBreakTemplateDeclarations: true
13 AlwaysBreakBeforeMultilineStrings: true
14 BreakBeforeBinaryOperators: false
15 BreakBeforeTernaryOperators: true
16 BreakConstructorInitializersBeforeComma: false
17 BinPackParameters: true
18 ColumnLimit:     80
19 ConstructorInitializerAllOnOneLineOrOnePerLine: true
20 DerivePointerBinding: true
21 ExperimentalAutoDetectBinPacking: false
22 IndentCaseLabels: true
23 MaxEmptyLinesToKeep: 1
24 KeepEmptyLinesAtTheStartOfBlocks: false
25 NamespaceIndentation: None
26 ObjCSpaceAfterProperty: false
27 ObjCSpaceBeforeProtocolList: false
28 PenaltyBreakBeforeFirstCallParameter: 1
29 PenaltyBreakComment: 300
30 PenaltyBreakString: 1000
31 PenaltyBreakFirstLessLess: 120
32 PenaltyExcessCharacter: 1000000
33 PenaltyReturnTypeOnItsOwnLine: 200
34 PointerBindsToType: true
35 SpacesBeforeTrailingComments: 2
36 Cpp11BracedListStyle: true
37 Standard:        Auto
38 IndentWidth:     2
39 TabWidth:        8
40 UseTab:          Never
41 BreakBeforeBraces: Attach
42 IndentFunctionDeclarationAfterType: true
43 SpacesInParentheses: false
44 SpacesInAngles:  false
45 SpaceInEmptyParentheses: false
46 SpacesInCStyleCastParentheses: false
47 SpacesInContainerLiterals: true
48 SpaceBeforeAssignmentOperators: true
49 ContinuationIndentWidth: 4
50 CommentPragmas:  '^ IWYU pragma:'
51 SpaceBeforeParens: ControlStatements
52 ...
53