-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Merging swift-DEVELOPMENT-SNAPSHOT-2019-06-17-a into tensorflow #25599
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
…hether literal could be initialized via coercion Currently logic to transform call into coercion uses `conformsToProtocol` to validate that type conforms to one of the ExpressibleBy*Literal protocols. That function doesn't handle unbound generic parameters and would result in an infinite loop or a crash when not all of the generic parameters were explicitly specified for one of the types in the chain e.g. `A.B(42)` where `A` has at least one generic parameter. Resolves: rdar://problem/50007727
We have nondeterministic test failures indicating a memory safety issue in ModelIO’s overlay. This switches the overlay’s property implementations to use the new `Array(unsafeUninitializedCount:,initializedWith:)` initializer rather than the potentially unreliable `&values[0]` pattern. rdar://problem/50449570
The output can be interleaved differently. Accept either ordering.
change OSLogOptimization pass so that inlining is not performed.
This fixes targets which do FP64 rather than FP80.
on ownership SIL.
for 'VarDecl' or if we don't know the kind of the decl. Property delegate allows arbitrary type name (with `@propertyDelegate` attr).
Includes code anticipating property delegates in part because it's been largely stolen from Doug's PR for that.
Turn the generic CustomAttrTypeRequest into a helper function and introduce a FunctionBuilderTypeRequest that starts from a ParamDecl. This has better caching characteristics and also means we only need to do a single cache lookup in order to resolve the type in the normal path. It also means we don't need as much parameterization in the cache. In addition, check that the parameter has function type in the request, not just when late-checking the attribute, and add a check that it isn't an autoclosure.
Provide a place where we can capture more information about the parameters from a declaration being called.
When calling a function whose parameter specifies a function builder with a multi-statement closure argument, transform the closure into a single expression via the function builder. Should the result type checker, replace the closure body with the single expression.
If a function builder contains a buildIf function, then "if" statements will be supported by passing an optional of the "then" branch. "if" statements with an "else" statement are unsupported at present.
Use the opened type from the callee declaration to open up references to generic function builders that contain type parameters. This allows general use of generic function builders.
Fixes rdar://problem/50232955.
rdar://problem/50074177
With module stability from the compiler, we can now use an earlier version of the SDK as the baseline and compare the new SDK with it. This patch adds a new -bsdk flag to the tool to specify the baseline SDK path.
Use the appropriate CMake functions to adjust the build flags rather than touching the user-controlled `CMAKE_C_FLAGS` and `CMAKE_CXX_FLAGS`.
This is needed to ensure that we get the correct modulemap file for Android on certain versions of CMake.
Failing sporadically in CI: https://ci.swift.org/job/oss-swift_tools-RA_stdlib-RDA_test-simulator/1827 Disabling until we can investigate fully. rdar://51804988
Disable tsan-norace-deinit-run-time.swift temporarily
Revert " [CastOptimizer] Set the correct debug scope for the SILBuilder. "
This is a recommit with a change to only run the test for optimized stdlib [as the bug reproduces only there [as the bug reproduces only there]
…25432) ...by crawling it and looking for module interfaces. This is the tool Apple is using for the "prebuilt-modules" directory in the toolchain in Xcode.app, which avoids even a first-use cost for importing modules from Apple SDKs as long as the SDKs haven't changed. We've been landing changes to support this model on the compiler side, so the tool to generate the "prebuilt" compiled modules belongs in the compiler repo too. (In theory this could be used with open-source toolchains as well, or for alternate SDKs.)
…80 data type. (#25502) * Fixes issue addressed Float80 data type. Float80 is disabled for Intel architectures (i.e. Android Simulator). * More precise condition check.
[SDK] Add overlay shims for ClockKit framework
[Foundation] Set correct availability on NSValue.value(of:)
`-print-resource-dir` is not available with `clang-cl` which is required for building the standard library for Windows on Windows. Use the `/clang:-print-resource-dir` spelling instead. This allows us to build the standalone runtime for Windows on Windows.
swift-api-digester: teach the tool to compare two SDKs directly
@swift-ci Please clean test tensorflow |
saeta
approved these changes
Jun 19, 2019
This was referenced Jun 19, 2019
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.
For apple/swift: merge e4e009f (from 2019-06-17).
For all other repositories: merge swift-DEVELOPMENT-SNAPSHOT-2019-06-17-a .