test: poll_timeout; see php-memcached-dev/php-memcached#531
[awesomized/libmemcached] / .clang-format
1 AccessModifierOffset: -2
2 AlignAfterOpenBracket: Align
3 AlignConsecutiveAssignments: false
4 #AlignConsecutiveBitFields: false (in v11)
5 AlignConsecutiveDeclarations: false
6 AlignConsecutiveMacros: true
7 AlignEscapedNewlines: DontAlign
8 # AlignOperands: AlignAfterOperator (in v11)
9 AlignOperands: false
10 AlignTrailingComments: true
11 AllowAllArgumentsOnNextLine: true
12 AllowAllConstructorInitializersOnNextLine: true
13 AllowAllParametersOfDeclarationOnNextLine: true
14 AllowShortBlocksOnASingleLine: Never
15 AllowShortCaseLabelsOnASingleLine: false
16 #AllowShortEnumsOnASingleLine: true (in v11)
17 AllowShortFunctionsOnASingleLine: Empty
18 AllowShortIfStatementsOnASingleLine: Never
19 AllowShortLambdasOnASingleLine: All
20 AllowShortLoopsOnASingleLine: true
21 AlwaysBreakAfterReturnType: None
22 AlwaysBreakBeforeMultilineStrings: false
23 AlwaysBreakTemplateDeclarations: Yes
24 BinPackArguments: true
25 BinPackParameters: true
26 #BitFieldColonSpacing: None (in v12)
27 BraceWrapping:
28 AfterCaseLabel: false
29 AfterClass: false
30 AfterControlStatement: MultiLine
31 AfterEnum: false
32 AfterExternBlock: false
33 AfterFunction: false
34 AfterNamespace: false
35 AfterObjCDeclaration: false
36 AfterStruct: false
37 AfterUnion: false
38 BeforeCatch: false
39 BeforeElse: false
40 # BeforeLambdaBody: false (in v11)
41 # BeforeWhile: false (in v11)
42 IndentBraces: false
43 SplitEmptyFunction: true
44 SplitEmptyNamespace: true
45 SplitEmptyRecord: true
46 BreakBeforeBinaryOperators: NonAssignment
47 BreakBeforeBraces: Custom
48 BreakBeforeInheritanceComma: true
49 BreakBeforeTernaryOperators: true
50 BreakConstructorInitializers: BeforeComma
51 BreakConstructorInitializersBeforeComma: true
52 BreakInheritanceList: BeforeComma
53 BreakStringLiterals: true
54 ColumnLimit: 100
55 #CommentPragmas: '^ ...'
56 CompactNamespaces: false
57 ConstructorInitializerAllOnOneLineOrOnePerLine: false
58 ConstructorInitializerIndentWidth: 0
59 ContinuationIndentWidth: 4
60 Cpp11BracedListStyle: true
61 DeriveLineEnding: true
62 DerivePointerAlignment: false
63 DisableFormat: false
64 #ExperimentalAutoDetectBinPacking: false
65 FixNamespaceComments: true
66 ForEachMacros:
67 - foreach
68 - BOOST_FOREACH
69 IncludeBlocks: Preserve
70 IncludeCategories:
71 - Regex: '^"lib(hashkit|(memcached(|protocol|util)))(-.*)?/'
72 Priority: 3
73 - Regex: '^(<|")test/)'
74 Priority: 2
75 - Regex: '.*'
76 Priority: 1
77 IncludeIsMainSourceRegex: ''
78 IndentCaseLabels: false
79 IndentGotoLabels: false
80 #IndentExternBlock: false (in v11)
81 IndentPPDirectives: AfterHash
82 IndentWidth: 2
83 IndentWrappedFunctionNames: false
84 #InsertTrailingCommas: Wrapped (in v11)
85 KeepEmptyLinesAtTheStartOfBlocks: false
86 Language: Cpp
87 MacroBlockBegin: ''
88 MacroBlockEnd: ''
89 MaxEmptyLinesToKeep: 1
90 NamespaceIndentation: None
91 #PenaltyBreakAssignment: 2
92 #PenaltyBreakBeforeFirstCallParameter: 19
93 #PenaltyBreakComment: 300
94 #PenaltyBreakFirstLessLess: 120
95 #PenaltyBreakString: 1000
96 #PenaltyBreakTemplateDeclaration: 10
97 #PenaltyExcessCharacter: 1000000
98 #PenaltyReturnTypeOnItsOwnLine: 60
99 PointerAlignment: Right
100 ReflowComments: true
101 SortIncludes: false
102 SortUsingDeclarations: true
103 SpaceAfterCStyleCast: true
104 SpaceAfterLogicalNot: false
105 SpaceAfterTemplateKeyword: false
106 #SpaceAroundPointerQualifiers: Both (in v12)
107 SpaceBeforeAssignmentOperators: true
108 SpaceBeforeCpp11BracedList: false
109 SpaceBeforeCtorInitializerColon: true
110 SpaceBeforeInheritanceColon: true
111 SpaceBeforeParens: ControlStatements
112 SpaceBeforeRangeBasedForLoopColon: true
113 SpaceBeforeSquareBrackets: false
114 SpaceInEmptyBlock: false
115 SpaceInEmptyParentheses: false
116 SpacesBeforeTrailingComments: 1
117 SpacesInAngles: false
118 SpacesInConditionalStatement: false
119 SpacesInContainerLiterals: false
120 SpacesInCStyleCastParentheses: false
121 SpacesInParentheses: false
122 SpacesInSquareBrackets: false
123 Standard: Latest
124 #StatementMacros:
125 # -
126 TabWidth: 2
127 UseCRLF: false
128 UseTab: Never