Skip to content

Commit 88dabe8

Browse files
update mongo-c-driver to 2.3.3
1 parent 6552ece commit 88dabe8

2,525 files changed

Lines changed: 779710 additions & 15 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 326 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,326 @@
1+
---
2+
# Note: the "Language" option is omitted to apply this format style to all files
3+
# regardless of the detected language.
4+
AccessModifierOffset: -2
5+
AlignAfterOpenBracket: Align
6+
AlignArrayOfStructures: None
7+
AlignConsecutiveAssignments:
8+
Enabled: false
9+
AcrossEmptyLines: false
10+
AcrossComments: false
11+
AlignCompound: false
12+
AlignFunctionDeclarations: false
13+
AlignFunctionPointers: false
14+
PadOperators: true
15+
AlignConsecutiveBitFields:
16+
Enabled: false
17+
AcrossEmptyLines: false
18+
AcrossComments: false
19+
AlignCompound: false
20+
AlignFunctionDeclarations: false
21+
AlignFunctionPointers: false
22+
PadOperators: false
23+
AlignConsecutiveDeclarations:
24+
Enabled: false
25+
AcrossEmptyLines: false
26+
AcrossComments: false
27+
AlignCompound: false
28+
AlignFunctionDeclarations: true
29+
AlignFunctionPointers: false
30+
PadOperators: false
31+
AlignConsecutiveMacros:
32+
Enabled: false
33+
AcrossEmptyLines: false
34+
AcrossComments: false
35+
AlignCompound: false
36+
AlignFunctionDeclarations: false
37+
AlignFunctionPointers: false
38+
PadOperators: false
39+
AlignConsecutiveShortCaseStatements:
40+
Enabled: false
41+
AcrossEmptyLines: false
42+
AcrossComments: false
43+
AlignCaseArrows: false
44+
AlignCaseColons: false
45+
AlignConsecutiveTableGenBreakingDAGArgColons:
46+
Enabled: false
47+
AcrossEmptyLines: false
48+
AcrossComments: false
49+
AlignCompound: false
50+
AlignFunctionDeclarations: false
51+
AlignFunctionPointers: false
52+
PadOperators: false
53+
AlignConsecutiveTableGenCondOperatorColons:
54+
Enabled: false
55+
AcrossEmptyLines: false
56+
AcrossComments: false
57+
AlignCompound: false
58+
AlignFunctionDeclarations: false
59+
AlignFunctionPointers: false
60+
PadOperators: false
61+
AlignConsecutiveTableGenDefinitionColons:
62+
Enabled: false
63+
AcrossEmptyLines: false
64+
AcrossComments: false
65+
AlignCompound: false
66+
AlignFunctionDeclarations: false
67+
AlignFunctionPointers: false
68+
PadOperators: false
69+
AlignEscapedNewlines: Left
70+
AlignOperands: Align
71+
AlignTrailingComments:
72+
Kind: Always
73+
OverEmptyLines: 0
74+
AllowAllArgumentsOnNextLine: true
75+
AllowAllParametersOfDeclarationOnNextLine: true
76+
AllowBreakBeforeNoexceptSpecifier: Never
77+
AllowShortBlocksOnASingleLine: Never
78+
AllowShortCaseExpressionOnASingleLine: true
79+
AllowShortCaseLabelsOnASingleLine: false
80+
AllowShortCompoundRequirementOnASingleLine: true
81+
AllowShortEnumsOnASingleLine: true
82+
AllowShortFunctionsOnASingleLine: None
83+
AllowShortIfStatementsOnASingleLine: Never
84+
AllowShortLambdasOnASingleLine: All
85+
AllowShortLoopsOnASingleLine: false
86+
AllowShortNamespacesOnASingleLine: false
87+
AlwaysBreakAfterDefinitionReturnType: None
88+
AlwaysBreakBeforeMultilineStrings: false
89+
AttributeMacros:
90+
- __capability
91+
- BSON_GNUC_WARN_UNUSED_RESULT
92+
- BSON_DEPRECATED
93+
- BSON_DEPRECATED_FOR
94+
BinPackArguments: false
95+
BinPackParameters: false
96+
BitFieldColonSpacing: Both
97+
BraceWrapping:
98+
AfterCaseLabel: false
99+
AfterClass: false
100+
AfterControlStatement: Never
101+
AfterEnum: false
102+
AfterExternBlock: false
103+
AfterFunction: false
104+
AfterNamespace: false
105+
AfterObjCDeclaration: false
106+
AfterStruct: false
107+
AfterUnion: false
108+
BeforeCatch: false
109+
BeforeElse: false
110+
BeforeLambdaBody: false
111+
BeforeWhile: false
112+
IndentBraces: false
113+
SplitEmptyFunction: true
114+
SplitEmptyRecord: true
115+
SplitEmptyNamespace: true
116+
BreakAdjacentStringLiterals: true
117+
BreakAfterAttributes: Never
118+
BreakAfterJavaFieldAnnotations: false
119+
BreakAfterReturnType: All
120+
BreakArrays: true
121+
BreakBeforeBinaryOperators: None
122+
BreakBeforeConceptDeclarations: Always
123+
BreakBeforeBraces: Linux
124+
BreakBeforeInlineASMColon: OnlyMultiline
125+
BreakBeforeTernaryOperators: true
126+
BreakBinaryOperations: Never
127+
BreakConstructorInitializers: BeforeColon
128+
BreakFunctionDefinitionParameters: false
129+
BreakInheritanceList: BeforeColon
130+
BreakStringLiterals: true
131+
BreakTemplateDeclarations: MultiLine
132+
ColumnLimit: 120
133+
CommentPragmas: '^ IWYU pragma:'
134+
CompactNamespaces: false
135+
ConstructorInitializerIndentWidth: 4
136+
ContinuationIndentWidth: 3
137+
Cpp11BracedListStyle: true
138+
DerivePointerAlignment: false
139+
DisableFormat: false
140+
EmptyLineAfterAccessModifier: Never
141+
EmptyLineBeforeAccessModifier: LogicalBlock
142+
ExperimentalAutoDetectBinPacking: false
143+
FixNamespaceComments: true
144+
ForEachMacros:
145+
- foreach
146+
- Q_FOREACH
147+
- BOOST_FOREACH
148+
- mlib_foreach_irange
149+
- mlib_foreach_urange
150+
- mlib_foreach
151+
- mlib_foreach_arr
152+
- mlib_vec_foreach
153+
IfMacros:
154+
- mlib_assert_aborts
155+
- KJ_IF_MAYBE
156+
IncludeBlocks: Regroup
157+
IncludeCategories:
158+
# The prelude header must always come first
159+
- Regex: '-prelude\.h>'
160+
Priority: 1
161+
# Relative "in this directory" headers next
162+
- Regex: '"\./|"\.\./'
163+
Priority: 2
164+
# Private API headers
165+
- Regex: '-private\.h>'
166+
Priority: 5
167+
# All other `mongoc/` headers
168+
- Regex: '<mongoc/'
169+
Priority: 10
170+
# all `bson/` headers come after `mongoc` headers
171+
- Regex: '<bson/|<bsonutil/'
172+
Priority: 20
173+
# Private API components
174+
- Regex: '<mlib/|<common'
175+
Priority: 30
176+
# Library Headers
177+
- Regex: '<(openssl/|jsonsl/|utf8proc\.h|bcrypt|sasl/|kms_message/)'
178+
Priority: 40
179+
# Testing Headers
180+
- Regex: '<(TestSuite|test-|(json|ssl)-test|mock_server/|unified/)'
181+
Priority: 50
182+
# Unix platform headers
183+
- Regex: '<(unistd|netdb|pthread|netinet/.*|sys/.*|netdb|fcntl|arpa/.*|resolv|sched|poll)\.h>'
184+
Priority: 90
185+
# Darwin platform headers
186+
- Regex: '<(Availability|AvailabilityMacros|TargetConditionals|CommonCrypto/.*|Security/.*|CoreFoundation/.*)\.h>'
187+
CaseSensitive: false
188+
Priority: 90
189+
# Windows platform headers
190+
- Regex: '<(win(dows|sock2|error|trnl|error|crypt|ver|dns)|sspi|ws2tcpip|ntstatus|mstcpip|process)\.h>'
191+
CaseSensitive: false
192+
Priority: 90
193+
# Standard library headers are near last
194+
- Regex: '<(assert|string|ctype|limits|time|math|errno|inttypes|signal).h>|<std|<[^.]+>'
195+
Priority: 100
196+
# Other -I headers get sorted before platform headers
197+
- Regex: '<'
198+
Priority: 80
199+
IncludeIsMainRegex: '(Test)?$'
200+
IncludeIsMainSourceRegex: ''
201+
IndentAccessModifiers: false
202+
IndentCaseBlocks: false
203+
IndentCaseLabels: false
204+
IndentExportBlock: true
205+
IndentExternBlock: AfterExternBlock
206+
IndentGotoLabels: true
207+
IndentPPDirectives: None
208+
IndentRequiresClause: true
209+
IndentWidth: 3
210+
IndentWrappedFunctionNames: false
211+
InsertBraces: false
212+
InsertNewlineAtEOF: false
213+
InsertTrailingCommas: None
214+
IntegerLiteralSeparator:
215+
Binary: 0
216+
BinaryMinDigits: 0
217+
Decimal: 0
218+
DecimalMinDigits: 0
219+
Hex: 0
220+
HexMinDigits: 0
221+
JavaScriptQuotes: Leave
222+
JavaScriptWrapImports: true
223+
KeepEmptyLines:
224+
AtEndOfFile: false
225+
AtStartOfBlock: false
226+
AtStartOfFile: false
227+
KeepFormFeed: false
228+
LambdaBodyIndentation: Signature
229+
LineEnding: DeriveLF
230+
MacroBlockBegin: ''
231+
MacroBlockEnd: ''
232+
MainIncludeChar: AngleBracket
233+
MaxEmptyLinesToKeep: 2
234+
NamespaceIndentation: None
235+
ObjCBinPackProtocolList: Auto
236+
ObjCBlockIndentWidth: 2
237+
ObjCBreakBeforeNestedBlockParam: true
238+
ObjCSpaceAfterProperty: false
239+
ObjCSpaceBeforeProtocolList: true
240+
PackConstructorInitializers: BinPack
241+
PenaltyBreakAssignment: 2
242+
PenaltyBreakBeforeFirstCallParameter: 19
243+
PenaltyBreakBeforeMemberAccess: 150
244+
PenaltyBreakComment: 300
245+
PenaltyBreakFirstLessLess: 120
246+
PenaltyBreakOpenParenthesis: 0
247+
PenaltyBreakScopeResolution: 500
248+
PenaltyBreakString: 1000
249+
PenaltyBreakTemplateDeclaration: 10
250+
PenaltyExcessCharacter: 1000000
251+
PenaltyIndentedWhitespace: 0
252+
PenaltyReturnTypeOnItsOwnLine: 60
253+
PointerAlignment: Right
254+
PPIndentWidth: -1
255+
QualifierAlignment: Leave
256+
ReferenceAlignment: Pointer
257+
ReflowComments: Always
258+
RemoveBracesLLVM: false
259+
RemoveEmptyLinesInUnwrappedLines: false
260+
RemoveParentheses: Leave
261+
RemoveSemicolon: false
262+
RequiresClausePosition: OwnLine
263+
RequiresExpressionIndentation: OuterScope
264+
SeparateDefinitionBlocks: Leave
265+
ShortNamespaceLines: 1
266+
SkipMacroDefinitionBody: false
267+
SortIncludes: CaseSensitive
268+
SortJavaStaticImport: Before
269+
SortUsingDeclarations: LexicographicNumeric
270+
SpaceAfterCStyleCast: false
271+
SpaceAfterLogicalNot: false
272+
SpaceAfterTemplateKeyword: true
273+
SpaceAroundPointerQualifiers: Default
274+
SpaceBeforeAssignmentOperators: true
275+
SpaceBeforeCaseColon: false
276+
SpaceBeforeCpp11BracedList: false
277+
SpaceBeforeCtorInitializerColon: true
278+
SpaceBeforeInheritanceColon: true
279+
SpaceBeforeJsonColon: false
280+
SpaceBeforeParens: Custom
281+
SpaceBeforeParensOptions:
282+
AfterControlStatements: true
283+
AfterForeachMacros: true
284+
AfterFunctionDefinitionName: false
285+
AfterFunctionDeclarationName: false
286+
AfterIfMacros: true
287+
AfterOverloadedOperator: false
288+
AfterPlacementOperator: false
289+
AfterRequiresInClause: false
290+
AfterRequiresInExpression: false
291+
BeforeNonEmptyParentheses: false
292+
SpaceBeforeRangeBasedForLoopColon: true
293+
SpaceBeforeSquareBrackets: false
294+
SpaceInEmptyBlock: false
295+
SpacesBeforeTrailingComments: 1
296+
SpacesInAngles: Never
297+
SpacesInContainerLiterals: true
298+
SpacesInLineCommentPrefix:
299+
Minimum: 1
300+
Maximum: -1
301+
SpacesInParens: Never
302+
SpacesInParensOptions:
303+
ExceptDoubleParentheses: false
304+
InCStyleCasts: false
305+
InConditionalStatements: false
306+
InEmptyParentheses: false
307+
Other: false
308+
SpacesInSquareBrackets: false
309+
Standard: Cpp11
310+
StatementAttributeLikeMacros:
311+
- Q_EMIT
312+
StatementMacros:
313+
- Q_UNUSED
314+
- QT_REQUIRE_VERSION
315+
TableGenBreakInsideDAGArg: DontBreak
316+
TabWidth: 3
317+
UseTab: Never
318+
VerilogBreakBetweenInstancePorts: true
319+
WhitespaceSensitiveMacros:
320+
- BOOST_PP_STRINGIZE
321+
- CF_SWIFT_NAME
322+
- NS_SWIFT_NAME
323+
- PP_STRINGIZE
324+
- STRINGIZE
325+
WrapNamespaceBodyWithEmptyLines: Leave
326+
...
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ignore:
2+
- "src/kms-message"
3+
- "src/zlib-*"
4+
- "src/libbson/tests"
5+
- "src/libmongoc/tests"

0 commit comments

Comments
 (0)