forked from apple/swift
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Merge main 2022-08-19 #4806
Merged
Merged
Merge main 2022-08-19 #4806
Conversation
This file contains 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
kateinoigakukun
force-pushed
the
katei/merge-main-2022-08-19
branch
from
August 19, 2022 14:51
464cf30
to
a158599
Compare
Windows adds a `comdat` flag. rdar://97290618
…es-of-protocols Ban constructing normal conformances where the conforming type is a protocol
Linux uses different section names. rdar://97690618
…on-darwin Add a flag to infer appropriate cross compile hosts on Darwin
Even if we can't spell them in source, we want to model expansions where the pattern does not depend on any pack type parameters, eg func f<C...: Collection>(_ c: C...) { let x = (c.count...) } Here, the type of 'x' is notionally 'Int * C.count'.
These will never appear in the source language, but can arise after substitution when the original type is a tuple type with a pack expansion type. Two examples: - original type: (Int, T...), substitution T := {} - original type: (T...), substitution T := {Int} We need to model these correctly to maintain invariants. Callers that previously used to rely on TupleType::get() returning a ParenType now explicitly check for the one-element case instead.
[Driver] More robust tool searching logic
…modulemap By referencing a C++ stdlib header directly from the modulemap, we make sure that the header is treated as a part of the stdlib, not a part of the first clang module to include it. Addresses the issue described in https://forums.swift.org/t/llvm-fails-to-build-with-modules/59700/8.
…ility Sema: Check the availability of property wrappers attached to VarDecls in named patterns
…ents-printing [ConstraintSystem] Improve connected components printing in the type inference algorithm debug output
[Sema] Always warn on uses of an implicitly imported conformances in API until Swift 6
[ModuleInterface] Print missing imports in swiftinterface
…-locale [Localization] Switch diagnostics/localization to `.strings` format
[Explicit Modules] On an explicit interface build, early exit if expected output is up-to-date.
…ple#60724) When cross compiling we are forcing the usage of the resource directory from the bootstrapping0 compiler to ensure we are picking up the stdlib from the SDK. As a result we need to ensure to have legacy layouts for all the architectures in that folder. Addresses rdar://98899578
[Sema] property wrapper missing wrappedValue check should add fixit to new line
[IRGen] Fix witness table miscompilation.
…dCombo [Dependency Scan] Remove redundant recombination of arguments in 'initCompilerInstanceForScan' into a string, before being re-parsed.
SequenceExprSyntax should have odd number elements. Previously 'a as b' was parsed like: ``` (sequence_expr (identifier_expr "a"), (as_expr 'as' (typeidentifier "b"))) ``` So it had even number elements. Now it's parsed ``` (sequence_expr (identifier_expr "a"), (unresolved_as_expr 'as') (type_expr (typeidentifier "b"))) ```
… parameters. Resolves apple#60391 and rdar://99006375
[Parse] Handle underscored integer in #sourceLocation line directive
…to-gh-issues-10 Gardening: Migrate test suite to GH issues p. 10
…to-gh-issues-11 Gardening: Migrate test suite to GH issues p. 11
…eral Index expressible-by-literal expressions.
[ConstraintSystem] Before applying the result builder transform to a function body, map the result builder type into context.
…ace-flag [cxx-interop] Emit `-enable-experimental-cxx-interop` flag into the module interface
[Dependency Scanning] Do not persist cached Clang module dependencies between scans.
Update ClangImporter to match new DependencyScanningService API from clang depscan.
…k without noundef
resolves rdar://96309577 / apple#59705
…nup-swift-main-update [ClangImporter] Update to match new DependencyScanningService API
should resolve rdar://97339014
This is mainly to improve usability for Swift compiler developers. resolves rdar://99357128
Fix store_borrow multi block handling in mem2reg
…-no-zext.cpp [test] update SwiftToCxx unsigned-return-type-no-zext.cpp test to wor…
[TypeChecker] add defensive nullptr checks
[Frontend] add -emit-ast and -emit-parse as aliases for the -dump-* flags
…9577 [SILGen] correct missing canonicalization of global actor
…xcode on the machine
… of the xcode on the machine" This reverts commit 559b26e.
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.
No description provided.