forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 30
Merge main 2022-11-03 #5037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Merge main 2022-11-03 #5037
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e69d2f3
to
9c57ba3
Compare
5966133
to
af7b2ee
Compare
Sink isFixedBuffer into DebugTypeInfo and ensure the enclosed types
…fixes Macro diagnostics fixes
Generalize the tracking of opened archetypes to cover pack element archetypes
…he 'each' keyword.
…pack element generic signature.
… Bind constraints, vend potential bindings through PotentialBindings::infer. This allows for bidirectional binding inference from the pack type to the element type and vice versa.
…cation for PackElementExpr.
…anager Establish the relationship for generated sources, whether for macro expansions or (via a small stretch) replacing function bodies with other bodies, in the source manager itself. This makes the information available for diagnostic rendering, and unifies a little bit of the representation, although it isn't used for much yet.
…2d3f1fe4ceb8cf02589da9a [sil] Add a new attribute called @closureCaptured to SILFunctionArguments that are closure capture arguments.
…/20221213 [OpaqueValues] Emit addr-only patterns.
…/20221213 [OpaqueValues] Fix @in_guaranteed loadable yields.
This removes one bit of code dependency on SwiftCompilerSupport, which we want to eliminate.
… the compiler to this repo This allows us to evolve e.g. token kinds and how attributes are modelled independently between SwiftSyntax and the compiler. It also makes it easier to e.g. add an attribute because you don’t need to create PRs for two repositories.
I added quite a few noqa: E501 because I think having similar properties on the same line is more important than having a strict column-limit
…-lipo [recursive-lipo] Fix incorrect indentation
A recent SPM change made it mandatory for there to be an archiver in the toolchain/PATH, swiftlang/swift-package-manager#5761, so make sure llvm-ar is bundled in the toolchain.
Update store_borrow checking in MemoryLifetimeVerifier and fix ForEachLoopUnroll and GenericCloner
…stic on lets being captured in a closure. Specifically, previously we said something along the lines of... 'x' has guaranteed ownership but was consumed even for lets. This is pretty misleading. Using @closureCapture, we can now emit a much better diagnostic: 'x' consumed in closure. This is illegal since if the closure is invoked more than once the binding will be uninitialized on later invocations. I am also going to use this technique to emit a similar diagnostic for vars that are captured by a closure. It will be slightly different since vars will behave like inout parameters.
…infrastructure. This let me clean up the parts of the address infrastructure that rely on the object checker.
…hould be treated like inout arguments. rdar://103313357
glibc's `uintptr_t` and `uint64_t` are both `unsigned long int`, but `uint32_t` is `unsigned int`, so BitVector overloads cannot be resoled on 32-bit platforms by following compilation error: error: call to member function 'add' is ambiguous bv.add(heap_object_abi::SwiftSpareBitsMask); darwin 32-bit platforms use stdint types defined in SwiftStdint.h, so they are identical
1c50f83
to
68fd6d9
Compare
41cc7c1
to
6446814
Compare
0978d69
to
2380494
Compare
ea7bfc8
to
a28c439
Compare
5c4d76e
to
0610cf2
Compare
0610cf2
to
f83f983
Compare
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The main branch is outdated for a few months.