Skip to content

Commit e2be2a3

Browse files
mongoc updated to v2.1.0
1 parent d02c2d1 commit e2be2a3

File tree

2,360 files changed

+691816
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,360 files changed

+691816
-11
lines changed
Lines changed: 325 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,325 @@
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+
IfMacros:
153+
- mlib_assert_aborts
154+
- KJ_IF_MAYBE
155+
IncludeBlocks: Regroup
156+
IncludeCategories:
157+
# The prelude header must always come first
158+
- Regex: '-prelude\.h>'
159+
Priority: 1
160+
# Relative "in this directory" headers next
161+
- Regex: '"\./|"\.\./'
162+
Priority: 2
163+
# Private API headers
164+
- Regex: '-private\.h>'
165+
Priority: 5
166+
# All other `mongoc/` headers
167+
- Regex: '<mongoc/'
168+
Priority: 10
169+
# all `bson/` headers come after `mongoc` headers
170+
- Regex: '<bson/|<bsonutil/'
171+
Priority: 20
172+
# Private API components
173+
- Regex: '<mlib/|<common'
174+
Priority: 30
175+
# Library Headers
176+
- Regex: '<(openssl/|jsonsl/|utf8proc\.h|bcrypt|sasl/|kms_message/)'
177+
Priority: 40
178+
# Testing Headers
179+
- Regex: '<(TestSuite|test-|(json|ssl)-test|mock_server/|unified/)'
180+
Priority: 50
181+
# Unix platform headers
182+
- Regex: '<(unistd|netdb|pthread|netinet/.*|sys/.*|netdb|fcntl|arpa/.*|resolv|sched|poll)\.h>'
183+
Priority: 90
184+
# Darwin platform headers
185+
- Regex: '<(Availability|AvailabilityMacros|TargetConditionals|CommonCrypto/.*|Security/.*|CoreFoundation/.*)\.h>'
186+
CaseSensitive: false
187+
Priority: 90
188+
# Windows platform headers
189+
- Regex: '<(win(dows|sock2|error|trnl|error|crypt|ver|dns)|sspi|ws2tcpip|ntstatus|mstcpip|process)\.h>'
190+
CaseSensitive: false
191+
Priority: 90
192+
# Standard library headers are near last
193+
- Regex: '<(assert|string|ctype|limits|time|math|errno|inttypes|signal).h>|<std|<[^.]+>'
194+
Priority: 100
195+
# Other -I headers get sorted before platform headers
196+
- Regex: '<'
197+
Priority: 80
198+
IncludeIsMainRegex: '(Test)?$'
199+
IncludeIsMainSourceRegex: ''
200+
IndentAccessModifiers: false
201+
IndentCaseBlocks: false
202+
IndentCaseLabels: false
203+
IndentExportBlock: true
204+
IndentExternBlock: AfterExternBlock
205+
IndentGotoLabels: true
206+
IndentPPDirectives: None
207+
IndentRequiresClause: true
208+
IndentWidth: 3
209+
IndentWrappedFunctionNames: false
210+
InsertBraces: false
211+
InsertNewlineAtEOF: false
212+
InsertTrailingCommas: None
213+
IntegerLiteralSeparator:
214+
Binary: 0
215+
BinaryMinDigits: 0
216+
Decimal: 0
217+
DecimalMinDigits: 0
218+
Hex: 0
219+
HexMinDigits: 0
220+
JavaScriptQuotes: Leave
221+
JavaScriptWrapImports: true
222+
KeepEmptyLines:
223+
AtEndOfFile: false
224+
AtStartOfBlock: false
225+
AtStartOfFile: false
226+
KeepFormFeed: false
227+
LambdaBodyIndentation: Signature
228+
LineEnding: DeriveLF
229+
MacroBlockBegin: ''
230+
MacroBlockEnd: ''
231+
MainIncludeChar: AngleBracket
232+
MaxEmptyLinesToKeep: 2
233+
NamespaceIndentation: None
234+
ObjCBinPackProtocolList: Auto
235+
ObjCBlockIndentWidth: 2
236+
ObjCBreakBeforeNestedBlockParam: true
237+
ObjCSpaceAfterProperty: false
238+
ObjCSpaceBeforeProtocolList: true
239+
PackConstructorInitializers: BinPack
240+
PenaltyBreakAssignment: 2
241+
PenaltyBreakBeforeFirstCallParameter: 19
242+
PenaltyBreakBeforeMemberAccess: 150
243+
PenaltyBreakComment: 300
244+
PenaltyBreakFirstLessLess: 120
245+
PenaltyBreakOpenParenthesis: 0
246+
PenaltyBreakScopeResolution: 500
247+
PenaltyBreakString: 1000
248+
PenaltyBreakTemplateDeclaration: 10
249+
PenaltyExcessCharacter: 1000000
250+
PenaltyIndentedWhitespace: 0
251+
PenaltyReturnTypeOnItsOwnLine: 60
252+
PointerAlignment: Right
253+
PPIndentWidth: -1
254+
QualifierAlignment: Leave
255+
ReferenceAlignment: Pointer
256+
ReflowComments: Always
257+
RemoveBracesLLVM: false
258+
RemoveEmptyLinesInUnwrappedLines: false
259+
RemoveParentheses: Leave
260+
RemoveSemicolon: false
261+
RequiresClausePosition: OwnLine
262+
RequiresExpressionIndentation: OuterScope
263+
SeparateDefinitionBlocks: Leave
264+
ShortNamespaceLines: 1
265+
SkipMacroDefinitionBody: false
266+
SortIncludes: CaseSensitive
267+
SortJavaStaticImport: Before
268+
SortUsingDeclarations: LexicographicNumeric
269+
SpaceAfterCStyleCast: true
270+
SpaceAfterLogicalNot: false
271+
SpaceAfterTemplateKeyword: true
272+
SpaceAroundPointerQualifiers: Default
273+
SpaceBeforeAssignmentOperators: true
274+
SpaceBeforeCaseColon: false
275+
SpaceBeforeCpp11BracedList: false
276+
SpaceBeforeCtorInitializerColon: true
277+
SpaceBeforeInheritanceColon: true
278+
SpaceBeforeJsonColon: false
279+
SpaceBeforeParens: Always
280+
SpaceBeforeParensOptions:
281+
AfterControlStatements: true
282+
AfterForeachMacros: true
283+
AfterFunctionDefinitionName: false
284+
AfterFunctionDeclarationName: false
285+
AfterIfMacros: true
286+
AfterOverloadedOperator: false
287+
AfterPlacementOperator: false
288+
AfterRequiresInClause: false
289+
AfterRequiresInExpression: false
290+
BeforeNonEmptyParentheses: false
291+
SpaceBeforeRangeBasedForLoopColon: true
292+
SpaceBeforeSquareBrackets: false
293+
SpaceInEmptyBlock: false
294+
SpacesBeforeTrailingComments: 1
295+
SpacesInAngles: Never
296+
SpacesInContainerLiterals: true
297+
SpacesInLineCommentPrefix:
298+
Minimum: 1
299+
Maximum: -1
300+
SpacesInParens: Never
301+
SpacesInParensOptions:
302+
ExceptDoubleParentheses: false
303+
InCStyleCasts: false
304+
InConditionalStatements: false
305+
InEmptyParentheses: false
306+
Other: false
307+
SpacesInSquareBrackets: false
308+
Standard: Cpp11
309+
StatementAttributeLikeMacros:
310+
- Q_EMIT
311+
StatementMacros:
312+
- Q_UNUSED
313+
- QT_REQUIRE_VERSION
314+
TableGenBreakInsideDAGArg: DontBreak
315+
TabWidth: 3
316+
UseTab: Never
317+
VerilogBreakBetweenInstancePorts: true
318+
WhitespaceSensitiveMacros:
319+
- BOOST_PP_STRINGIZE
320+
- CF_SWIFT_NAME
321+
- NS_SWIFT_NAME
322+
- PP_STRINGIZE
323+
- STRINGIZE
324+
WrapNamespaceBodyWithEmptyLines: Leave
325+
...
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)