Skip to content
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 3,180 commits into from
Aug 31, 2022
Merged

Merge main 2022-08-19 #4806

merged 3,180 commits into from
Aug 31, 2022

Conversation

kateinoigakukun
Copy link
Member

No description provided.

al45tair and others added 28 commits August 23, 2022 13:56
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")))
```
LucianoPAlmeida and others added 25 commits August 30, 2022 08:56
[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.
)

Production compilers do not support experimental features.
…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.
…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
… of the xcode on the machine"

This reverts commit 559b26e.
@kateinoigakukun kateinoigakukun marked this pull request as ready for review August 31, 2022 16:06
@kateinoigakukun kateinoigakukun merged commit f8fb33c into swiftwasm Aug 31, 2022
@kateinoigakukun kateinoigakukun deleted the katei/merge-main-2022-08-19 branch August 31, 2022 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet