allow
[ghsmtp.git] / _clang-format
blob5e911e1e5fd1a831ed7353b5433bc7c13b8c42ee
1 ---
2 Language:        Cpp
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveAssignments: true
6 AlignConsecutiveDeclarations: true
7 AlignEscapedNewlinesLeft: false
8 AlignOperands:   true
9 AlignTrailingComments: true
10 AllowAllParametersOfDeclarationOnNextLine: true
11 AllowShortBlocksOnASingleLine: true
12 AllowShortCaseLabelsOnASingleLine: true
13 AllowShortFunctionsOnASingleLine: All
14 AllowShortIfStatementsOnASingleLine: false
15 AllowShortLoopsOnASingleLine: false
16 AlwaysBreakAfterDefinitionReturnType: None
17 AlwaysBreakAfterReturnType: None
18 AlwaysBreakBeforeMultilineStrings: false
19 AlwaysBreakTemplateDeclarations: true
20 BinPackArguments: true
21 BinPackParameters: false
22 BraceWrapping:   
23   AfterClass:      false
24   AfterControlStatement: false
25   AfterEnum:       false
26   AfterFunction:   true
27   AfterNamespace:  false
28   AfterObjCDeclaration: false
29   AfterStruct:     false
30   AfterUnion:      false
31   BeforeCatch:     true
32   BeforeElse:      true
33   IndentBraces:    false
34 BreakBeforeBinaryOperators: false
35 BreakBeforeBraces: Stroustrup
36 BreakBeforeTernaryOperators: true
37 BreakConstructorInitializersBeforeComma: true
38 BreakAfterJavaFieldAnnotations: false
39 BreakStringLiterals: true
40 ColumnLimit:     80
41 CommentPragmas:  '^ IWYU pragma:'
42 ConstructorInitializerAllOnOneLineOrOnePerLine: false
43 ConstructorInitializerIndentWidth: 2
44 ContinuationIndentWidth: 4
45 Cpp11BracedListStyle: true
46 DerivePointerAlignment: false
47 DisableFormat:   false
48 ExperimentalAutoDetectBinPacking: false
49 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
50 IncludeCategories: 
51   - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
52     Priority:        2
53   - Regex:           '^(<|"(gtest|isl|json)/)'
54     Priority:        3
55   - Regex:           '.*'
56     Priority:        1
57 IncludeIsMainRegex: '$'
58 IndentCaseLabels: false
59 IndentWidth:     2
60 IndentWrappedFunctionNames: false
61 JavaScriptQuotes: Leave
62 JavaScriptWrapImports: true
63 KeepEmptyLinesAtTheStartOfBlocks: true
64 MacroBlockBegin: ''
65 MacroBlockEnd:   ''
66 MaxEmptyLinesToKeep: 1
67 NamespaceIndentation: None
68 ObjCBlockIndentWidth: 2
69 ObjCSpaceAfterProperty: false
70 ObjCSpaceBeforeProtocolList: true
71 PenaltyBreakBeforeFirstCallParameter: 19
72 PenaltyBreakComment: 60
73 PenaltyBreakFirstLessLess: 120
74 PenaltyBreakString: 1000
75 PenaltyExcessCharacter: 1000000
76 PenaltyReturnTypeOnItsOwnLine: 60
77 PointerAlignment: Left
78 ReflowComments:  true
79 SortIncludes:    true
80 SpaceAfterCStyleCast: false
81 SpaceAfterTemplateKeyword: true
82 SpaceBeforeAssignmentOperators: true
83 SpaceBeforeParens: ControlStatements
84 SpaceInEmptyParentheses: false
85 SpacesBeforeTrailingComments: 1
86 SpacesInAngles:  false
87 SpacesInContainerLiterals: true
88 SpacesInCStyleCastParentheses: false
89 SpacesInParentheses: false
90 SpacesInSquareBrackets: false
91 Standard:        Cpp11
92 TabWidth:        8
93 UseTab:          Never
94 ...