Skip to content

Commit 81d12fe

Browse files
committed
Update for 1.37
1 parent ec3c342 commit 81d12fe

Some content is hidden

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

60 files changed

+9422
-1044
lines changed

.clang-format

Lines changed: 313 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,313 @@
1+
---
2+
BasedOnStyle: Google
3+
AccessModifierOffset: -1
4+
AlignAfterOpenBracket: BlockIndent
5+
AlignArrayOfStructures: None
6+
AlignConsecutiveAssignments:
7+
Enabled: false
8+
AcrossEmptyLines: false
9+
AcrossComments: false
10+
AlignCompound: false
11+
AlignFunctionPointers: false
12+
PadOperators: true
13+
AlignConsecutiveBitFields:
14+
Enabled: false
15+
AcrossEmptyLines: false
16+
AcrossComments: false
17+
AlignCompound: false
18+
AlignFunctionPointers: false
19+
PadOperators: false
20+
AlignConsecutiveDeclarations:
21+
Enabled: false
22+
AcrossEmptyLines: false
23+
AcrossComments: false
24+
AlignCompound: false
25+
AlignFunctionPointers: false
26+
PadOperators: false
27+
AlignConsecutiveMacros:
28+
Enabled: false
29+
AcrossEmptyLines: false
30+
AcrossComments: false
31+
AlignCompound: false
32+
AlignFunctionPointers: false
33+
PadOperators: false
34+
AlignConsecutiveShortCaseStatements:
35+
Enabled: false
36+
AcrossEmptyLines: false
37+
AcrossComments: false
38+
AlignCaseArrows: false
39+
AlignCaseColons: false
40+
AlignConsecutiveTableGenBreakingDAGArgColons:
41+
Enabled: false
42+
AcrossEmptyLines: false
43+
AcrossComments: false
44+
AlignCompound: false
45+
AlignFunctionPointers: false
46+
PadOperators: false
47+
AlignConsecutiveTableGenCondOperatorColons:
48+
Enabled: false
49+
AcrossEmptyLines: false
50+
AcrossComments: false
51+
AlignCompound: false
52+
AlignFunctionPointers: false
53+
PadOperators: false
54+
AlignConsecutiveTableGenDefinitionColons:
55+
Enabled: false
56+
AcrossEmptyLines: false
57+
AcrossComments: false
58+
AlignCompound: false
59+
AlignFunctionPointers: false
60+
PadOperators: false
61+
AlignEscapedNewlines: Left
62+
AlignOperands: AlignAfterOperator
63+
AlignTrailingComments:
64+
Kind: Never
65+
OverEmptyLines: 0
66+
AllowAllArgumentsOnNextLine: true
67+
AllowAllParametersOfDeclarationOnNextLine: true
68+
AllowBreakBeforeNoexceptSpecifier: Never
69+
AllowShortBlocksOnASingleLine: Never
70+
AllowShortCaseExpressionOnASingleLine: true
71+
AllowShortCaseLabelsOnASingleLine: false
72+
AllowShortCompoundRequirementOnASingleLine: true
73+
AllowShortEnumsOnASingleLine: true
74+
AllowShortFunctionsOnASingleLine: None
75+
AllowShortIfStatementsOnASingleLine: Never
76+
AllowShortLambdasOnASingleLine: None
77+
AllowShortLoopsOnASingleLine: false
78+
AlwaysBreakAfterDefinitionReturnType: None
79+
AlwaysBreakBeforeMultilineStrings: true
80+
AttributeMacros:
81+
- __capability
82+
BinPackArguments: false
83+
BinPackParameters: false
84+
BitFieldColonSpacing: Both
85+
BraceWrapping:
86+
AfterCaseLabel: false
87+
AfterClass: false
88+
AfterControlStatement: Never
89+
AfterEnum: false
90+
AfterFunction: false
91+
AfterNamespace: false
92+
AfterObjCDeclaration: false
93+
AfterStruct: false
94+
AfterUnion: false
95+
AfterExternBlock: false
96+
BeforeCatch: false
97+
BeforeElse: false
98+
BeforeLambdaBody: false
99+
BeforeWhile: false
100+
IndentBraces: false
101+
SplitEmptyFunction: false
102+
SplitEmptyRecord: false
103+
SplitEmptyNamespace: false
104+
BreakAdjacentStringLiterals: true
105+
BreakAfterAttributes: Never
106+
BreakAfterJavaFieldAnnotations: false
107+
BreakAfterReturnType: None
108+
BreakArrays: true
109+
BreakBeforeBinaryOperators: None
110+
BreakBeforeBraces: Attach
111+
BreakBeforeConceptDeclarations: Always
112+
BreakBeforeInlineASMColon: OnlyMultiline
113+
BreakBeforeTernaryOperators: true
114+
BreakConstructorInitializers: AfterColon
115+
BreakFunctionDefinitionParameters: false
116+
BreakInheritanceList: AfterColon
117+
BreakStringLiterals: false
118+
BreakTemplateDeclarations: Yes
119+
ColumnLimit: 150
120+
CommentPragmas: "^ IWYU pragma:"
121+
CompactNamespaces: false
122+
ConstructorInitializerIndentWidth: 4
123+
ContinuationIndentWidth: 4
124+
Cpp11BracedListStyle: true
125+
DerivePointerAlignment: false
126+
DisableFormat: false
127+
EmptyLineAfterAccessModifier: Never
128+
EmptyLineBeforeAccessModifier: LogicalBlock
129+
ExperimentalAutoDetectBinPacking: false
130+
FixNamespaceComments: true
131+
ForEachMacros:
132+
- foreach
133+
- Q_FOREACH
134+
- BOOST_FOREACH
135+
IfMacros:
136+
- KJ_IF_MAYBE
137+
IncludeBlocks: Regroup
138+
IncludeCategories:
139+
- Regex: ^<ext/.*\.h>
140+
Priority: 2
141+
SortPriority: 0
142+
CaseSensitive: false
143+
- Regex: ^<.*\.h>
144+
Priority: 1
145+
SortPriority: 0
146+
CaseSensitive: false
147+
- Regex: ^<.*
148+
Priority: 2
149+
SortPriority: 0
150+
CaseSensitive: false
151+
- Regex: .*
152+
Priority: 3
153+
SortPriority: 0
154+
CaseSensitive: false
155+
IncludeIsMainRegex: ([-_](test|unittest))?$
156+
IncludeIsMainSourceRegex: ""
157+
IndentAccessModifiers: false
158+
IndentCaseBlocks: false
159+
IndentCaseLabels: true
160+
IndentExternBlock: Indent
161+
IndentGotoLabels: true
162+
IndentPPDirectives: None
163+
IndentRequiresClause: false
164+
IndentWidth: 4
165+
IndentWrappedFunctionNames: false
166+
InsertBraces: true
167+
InsertNewlineAtEOF: true
168+
InsertTrailingCommas: None
169+
IntegerLiteralSeparator:
170+
Binary: 0
171+
BinaryMinDigits: 0
172+
Decimal: 0
173+
DecimalMinDigits: 0
174+
Hex: 0
175+
HexMinDigits: 0
176+
JavaScriptQuotes: Leave
177+
JavaScriptWrapImports: true
178+
KeepEmptyLines:
179+
AtEndOfFile: false
180+
AtStartOfBlock: false
181+
AtStartOfFile: false
182+
LambdaBodyIndentation: Signature
183+
Language: Cpp
184+
LineEnding: LF
185+
MacroBlockBegin: ""
186+
MacroBlockEnd: ""
187+
MainIncludeChar: Quote
188+
MaxEmptyLinesToKeep: 1
189+
NamespaceIndentation: All
190+
ObjCBinPackProtocolList: Never
191+
ObjCBlockIndentWidth: 2
192+
ObjCBreakBeforeNestedBlockParam: true
193+
ObjCSpaceAfterProperty: false
194+
ObjCSpaceBeforeProtocolList: true
195+
PPIndentWidth: -1
196+
PackConstructorInitializers: CurrentLine
197+
PenaltyBreakAssignment: 2
198+
PenaltyBreakBeforeFirstCallParameter: 1
199+
PenaltyBreakComment: 300
200+
PenaltyBreakFirstLessLess: 120
201+
PenaltyBreakOpenParenthesis: 0
202+
PenaltyBreakScopeResolution: 500
203+
PenaltyBreakString: 1000
204+
PenaltyBreakTemplateDeclaration: 10
205+
PenaltyExcessCharacter: 100
206+
PenaltyIndentedWhitespace: 0
207+
PenaltyReturnTypeOnItsOwnLine: 0
208+
PointerAlignment: Left
209+
QualifierAlignment: Right
210+
RawStringFormats:
211+
- Language: Cpp
212+
Delimiters:
213+
- cc
214+
- CC
215+
- cpp
216+
- Cpp
217+
- CPP
218+
- c++
219+
- C++
220+
CanonicalDelimiter: ""
221+
BasedOnStyle: google
222+
- Language: TextProto
223+
Delimiters:
224+
- pb
225+
- PB
226+
- proto
227+
- PROTO
228+
EnclosingFunctions:
229+
- EqualsProto
230+
- EquivToProto
231+
- PARSE_PARTIAL_TEXT_PROTO
232+
- PARSE_TEST_PROTO
233+
- PARSE_TEXT_PROTO
234+
- ParseTextOrDie
235+
- ParseTextProtoOrDie
236+
- ParseTestProto
237+
- ParsePartialTestProto
238+
CanonicalDelimiter: pb
239+
BasedOnStyle: google
240+
ReferenceAlignment: Pointer
241+
ReflowComments: true
242+
RemoveBracesLLVM: false
243+
RemoveParentheses: Leave
244+
RemoveSemicolon: false
245+
RequiresClausePosition: OwnLine
246+
RequiresExpressionIndentation: OuterScope
247+
SeparateDefinitionBlocks: Always
248+
ShortNamespaceLines: 1
249+
SkipMacroDefinitionBody: false
250+
SortIncludes: CaseInsensitive
251+
SortJavaStaticImport: Before
252+
SortUsingDeclarations: LexicographicNumeric
253+
SpaceAfterCStyleCast: true
254+
SpaceAfterLogicalNot: false
255+
SpaceAfterTemplateKeyword: true
256+
SpaceAroundPointerQualifiers: Default
257+
SpaceBeforeAssignmentOperators: true
258+
SpaceBeforeCaseColon: false
259+
SpaceBeforeCpp11BracedList: false
260+
SpaceBeforeCtorInitializerColon: true
261+
SpaceBeforeInheritanceColon: true
262+
SpaceBeforeJsonColon: false
263+
SpaceBeforeParens: ControlStatements
264+
SpaceBeforeParensOptions:
265+
AfterControlStatements: true
266+
AfterForeachMacros: true
267+
AfterFunctionDeclarationName: false
268+
AfterFunctionDefinitionName: false
269+
AfterIfMacros: true
270+
AfterOverloadedOperator: false
271+
AfterPlacementOperator: true
272+
AfterRequiresInClause: false
273+
AfterRequiresInExpression: false
274+
BeforeNonEmptyParentheses: false
275+
SpaceBeforeRangeBasedForLoopColon: true
276+
SpaceBeforeSquareBrackets: false
277+
SpaceInEmptyBlock: true
278+
SpacesBeforeTrailingComments: 2
279+
SpacesInAngles: Never
280+
SpacesInContainerLiterals: true
281+
SpacesInLineCommentPrefix:
282+
Minimum: 1
283+
Maximum: -1
284+
SpacesInParens: Never
285+
SpacesInParensOptions:
286+
ExceptDoubleParentheses: false
287+
InConditionalStatements: false
288+
InCStyleCasts: false
289+
InEmptyParentheses: false
290+
Other: false
291+
SpacesInSquareBrackets: false
292+
Standard: Auto
293+
StatementAttributeLikeMacros:
294+
- Q_EMIT
295+
StatementMacros:
296+
- Q_UNUSED
297+
- QT_REQUIRE_VERSION
298+
TabWidth: 8
299+
TableGenBreakInsideDAGArg: DontBreak
300+
UseTab: Never
301+
VerilogBreakBetweenInstancePorts: true
302+
WhitespaceSensitiveMacros:
303+
- BOOST_PP_STRINGIZE
304+
- CF_SWIFT_NAME
305+
- NS_SWIFT_NAME
306+
- PP_STRINGIZE
307+
- STRINGIZE
308+
KeepEmptyLinesAtTheStartOfBlocks: false
309+
Macros:
310+
- DECLARE_CLASS_CODEGEN=
311+
- DECLARE_CLASS_CODEGEN_INTERFACES=
312+
- DECLARE_JSON_CLASS=
313+
KeepEmptyLinesAtEOF: false

.devcontainer/devcontainer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "QPM",
3+
"image": "ghcr.io/dantheman827/qpm-docker:master",
4+
"features": {
5+
"ghcr.io/devcontainers/features/common-utils:2": {
6+
"username": "codespace",
7+
"userUid": "1000",
8+
"userGid": "1000",
9+
"installZsh": false,
10+
"installOhMyZsh": false,
11+
"installOhMyZshConfig": false,
12+
"upgradePackages": false
13+
}
14+
},
15+
"remoteUser": "codespace",
16+
"containerUser": "codespace",
17+
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
18+
"postCreateCommand": "/bin/bash .devcontainer/postCreate.sh",
19+
"customizations": {
20+
"vscode": {
21+
"extensions": [
22+
"llvm-vs-code-extensions.vscode-clangd",
23+
"twxs.cmake",
24+
"ms-vscode.cmake-tools",
25+
"ms-vscode.PowerShell",
26+
"github.vscode-github-actions"
27+
]
28+
}
29+
}
30+
}

.devcontainer/postCreate.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
# Update any submodules recursively
3+
git submodule update --init --recursive
4+
5+
# Extract the newest NDK path from our docker image
6+
echo -n $(ls -d /ndk/* | sort -r | head -n 1) > ndkpath.txt
7+
8+
# Set qpm to use the same path as our docker image
9+
qpm config ndk-path /ndk/
10+
11+
# Attempt to resolve the NDK specified in qpm.json
12+
qpm ndk resolve -d || true
13+
14+
# Restore the dependencies
15+
qpm restore

0 commit comments

Comments
 (0)