Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / .clang-format
blob50ff81d0f53b90f97557a66b01d31034549b036b
1 ---
2 Language: Cpp
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: false
5 AlignEscapedNewlinesLeft: false
6 AlignOperands: false
7 AlignTrailingComments: false
8 AllowAllParametersOfDeclarationOnNextLine: false
9 AllowShortBlocksOnASingleLine: false
10 AllowShortCaseLabelsOnASingleLine: false
11 AllowShortFunctionsOnASingleLine: false
12 AllowShortIfStatementsOnASingleLine: false
13 AllowShortLoopsOnASingleLine: false
14 AlwaysBreakAfterDefinitionReturnType: false
15 AlwaysBreakBeforeMultilineStrings: false
16 AlwaysBreakTemplateDeclarations: false
17 BinPackArguments: true
18 BinPackParameters: true
19 BreakBeforeBinaryOperators: false
20 BreakBeforeBraces: Attach
21 BreakBeforeTernaryOperators: true
22 BreakConstructorInitializersBeforeComma: false
23 ColumnLimit: 0
24 ConstructorInitializerAllOnOneLineOrOnePerLine: false
25 ConstructorInitializerIndentWidth: 4
26 ContinuationIndentWidth: 4
27 Cpp11BracedListStyle: true
28 DerivePointerAlignment: false
29 DisableFormat: false
30 DerivePointerBinding: false
31 ExperimentalAutoDetectBinPacking: false
32 IndentCaseLabels: true
33 IndentFunctionDeclarationAfterType: true
34 IndentWidth: 4
35 IndentWrappedFunctionNames: false
36 KeepEmptyLinesAtTheStartOfBlocks: true
37 MaxEmptyLinesToKeep: 1
38 NamespaceIndentation: None
39 ObjCBlockIndentWidth: 2
40 ObjCSpaceAfterProperty: false
41 ObjCSpaceBeforeProtocolList: true
42 PenaltyBreakBeforeFirstCallParameter: 19
43 PenaltyBreakComment: 300
44 PenaltyBreakFirstLessLess: 120
45 PenaltyBreakString: 1000
46 PenaltyExcessCharacter: 1000000
47 PenaltyReturnTypeOnItsOwnLine: 60
48 PointerAlignment: Right
49 SpaceAfterCStyleCast: false
50 SpaceBeforeAssignmentOperators: true
51 SpaceBeforeParens: Never
52 SpaceInEmptyParentheses: false
53 SpacesBeforeTrailingComments: 1
54 SpacesInAngles: false
55 SpacesInCStyleCastParentheses: false
56 SpacesInContainerLiterals: true
57 SpacesInParentheses: false
58 SpacesInSquareBrackets: false
59 Standard: Cpp11
60 TabWidth: 8
61 UseTab: Never