forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 30
[pull] swiftwasm from master #1434
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
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
Clarify `llvm_unreachable` after exhaustive switch is needed to silence MSVC C4715, so we don't accidentally remove it. Standardize some assertion messages.
The stderr handles seem to behave differently under Python 3. Use the `-log-path` option to capture the standard error output and validate the output.
Without this the remote-run tests fail due to expecting a "bytes-like" object rather than str.
Python3 does not like the use of the unpacked tuple in the argument list, change the function's arity and require the caller to expand the tuple. `map` now returns an iterator rather than a list, simplify the iteration to unpack the elements in the list and use that to invoke the map'ed method instead.
There seems to be case where parentDC->getAsDecl() returns nullptr. I haven't been able to find a reproducer. rdar://problem/61765124
Today unchecked_bitwise_cast returns a value with ObjCUnowned ownership. This is important to do since the instruction can truncate memory meaning we want to treat it as a new object that must be copied before use. This means that in OSSA we do not have a purely ossa forwarding unchecked layout-compatible assuming cast. This role is filled by unchecked_value_cast.
… coverage for ossa. Specifically, we were missing a bunch of coverage around specializing guaranteed parameters and non-trivial values in general.
Now that conformance descriptors are signed before being passed to swift_compareProtocolConformanceDescriptors on arm64e from metadata accessors when prespecialization is enabled, the tests must be updated for that platform to look for the signing.
Removes the "__swift_mode_t" type from SwiftShims. This type is no longer used anywhere.
Any C++ type that isn't trivially copyable is now also not a trivial type. This will preserve the destructor (among other things).
See rdar://problem/65281056 .
…a-prespecialization-components/consider-conformances-ptrauth-tests
…ble setters. Part of rdar://problem/65152582, where key paths were generating references to setters in contexts where they weren't available.
…nthesized from. If a modify/mutableAddress coroutine is defined with availability, or a property wrapper adds a setter with availability, then the implicit synthesized setter should be as available as those declarations it's synthesized from. rdar://problem/65152582
…765124 [CodeCompletion] Safer getEquivalentDeclContextFromSourceFile()
[Test] Disabled Driver/linker.swift.
[ownership] Fix the eager specializer for ownership
…test test: make test syntactically compatible with Python3
`VJPCloner.h` is now tiny: `VJPCloner` exposes only a `bool run()` entry point. All of the implementation is moved to `VJPCloner::Implementation` in `VJPCloner.cpp`. Methods can be defined directly in `VJPCloner.cpp` without separate declarations.
…spi-deps-in-trace Include SPI dependencies in module trace.
…Request Even if the conformance to Encodable or Decodable is via an extension, the nested type is synthesized as a member of the type itself, so that it can be shared by both conformances. Make sure we force it to be synthesized in this case.
`JVPCloner.h` is now tiny: `JVPCloner` exposes only a `bool run()` entry point. All of the implementation is moved to `JVPCloner::Implementation` in `JVPCloner.cpp`. Methods can be defined directly in `JVPCloner.cpp` without separate declarations.
test: use `-log-path` for stderr access in ModuleInterface tests
test: make `remote-run` Python 3 friendly
…ilability Availability-related fixes with keypaths, _modify, and/or property wrappers
rdar://problem/65373647
[AutoDiff] NFC: Reimplement derivative function cloners using pimpl pattern.
…nthesis Sema: Force synthesis of the CodingKeys nested type in EmittedMembersRequest
MaxDesiatov
approved these changes
Jul 11, 2020
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.
See Commits and Changes for more details.
Created by
pull[bot]. Want to support this open source service? Please star it : )