Skip to content

Merge main 2023-02-03 #5250

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 404 commits into from
Feb 4, 2023
Merged

Merge main 2023-02-03 #5250

merged 404 commits into from
Feb 4, 2023

Conversation

kateinoigakukun
Copy link
Member

No description provided.

glessard and others added 30 commits January 26, 2023 17:09
[gardening] change an ambiguous variable name
… types.

Macro attribute lookup is now implemented in ResolveMacroRequest, which happens
later because it needs overload resolution to resolve a custom attribute to a
macro decl.
Revert "At -Onone preserve debug info after splitting loads"
…es/owned_arguments

[SIL] Maintain owned argument lifetimes at inlining.
…function

type resolution.

This code is a remnant from when parameter packs and classic variadic parameters
both used the '...' syntax. Now, parameter packs can use the standard 'resolveType'
code path.
…quest

[NameLookup] The custom attribute lookup request only returns nominal types.
…es-expressible-by-string

[SwiftSyntax] Adjustments because `VariableDeclSyntax` etc. are no longer expressible by string literals
Rename `ResolveAttachedMacroRequest` to `ResolveMacroRequest` and make use of the request in freestanding declaration macro type checking. Add support for type-checking generic arguments on `MacroExpansionDecl`.
…45042884148ff1033d9a416

[move-only] Make sure that we insert compensating destroys for phi values
…tlang#63016)

* [Concurrency] Fix too optimistic bail-out-when-empty, discarding group
may need to emit an error out of such waitAll attempt, if a previous
error was already stored.

* [Concurrency] DiscardingTG error thrown from body always wins

* Offering body error must be done while holding lock

* Must not modify waitingTask context outside lock

* wip on trying to fix by changing the offer

* fix bug in resuming tasks in offer/resume task in discarding group

* Fix swiftlang#63147 waitForAll impl in ThrowingTaskGroup, used to not wait enough

rdar://104507347

* done

* debug

* explicitly declare virtual destructors

* detach child task after filling result; dont mutate context outside of lock

* Add pending count overflow protection to TaskGroup

* unlock async_taskgroup_void_neverConsumingTasks again rdar://104332560

* missing include on windows for error reporting

* fix ARM_ARCH_7K workaround snippet
…behavior

[SILGen] RuntimeMetadata: If attr is attached to a property #function…
…ed result builder methods

Only way to aggregate build* methods is via source locations because
each result builder kind would create a new build* expression node.
…he name to reduce confusion with MoveChecking passes.

Just trying to eliminate potential confusion.
…yable fields are not considered loads that need to be consumed.

Just something I have been meaning to fix for a little bit.

rdar://104753490
…ied1

Initial support for importing address diversified pointer auth qualified field function pointers
…rom the MoveOnlyObjectChecker, make its own pass.

This is a cleaner separation of concerns. The reason why I did not do this
originally is that I thought I would need to reuse this functionality in the
address checker, but this issue actually does not come up there since we project
the address and then load instead of load and then project.
…it import dependencies.

Otherwise the scanning action will not look for them as dependencies, and the compilation it is used to inform will not specify these moduels as explicit inpouts.

Resolves rdar://104761392
egorzhdan and others added 26 commits February 2, 2023 12:47
…C++ container

This makes `Array.init<C: CxxConvertibleToCollection>(C)` more generic by using `RangeReplaceableCollection` protocol instead of concrete `Array` type.
[Parser] Handle REPL raw multi-line string literal input
[cxx-interop][android] Exclude Android from the list of platforms to link against the swiftstd library
…ol_witness_tables_test_config

Relative protocol witness tables test configuration
…iftParser

We can get into a situation where the C++ parser has emitted a warning but no error and thus `hadAnyError()` is still `false`. Suppress warnings from SwiftParser to avoid emitting the same warning that we already emitted from the C++ parser from SwiftParser.
…mprovements

[cxx-interop] Various improvements to the stdlib overlay
…ied4

Changes to support imported structs with ptruath qualified field function pointers
docs: fix info about bootstrapping
…rrors-only-verification

[Parser] When performing parser validation, suppress warnings from SwiftParser
…ploy

[SE-0376] Rename `@_backDeploy(before:)` to `@backDeployed(before:)`
…lative_witness_table_description

Remove undefined behavior in RelativeWitnessTable::getDescription()
…tive

[NFC] Fix change in SWIFT_CLASS_NAMED macro
[Serialization] Disable deserialization safety when testing is enabled
…efault_runtime_function_counters

Default to no default for swift-enable-runtime-function-counters
…g#63226)

Adopt malloc_type for allocating Swift objects from runtime

Radar-Id: rdar://98998492
…63367)

Emit plugins loaded with `-load-plugin-library` to loaded module trace.

Resolves rdar://102212316.
@kateinoigakukun kateinoigakukun marked this pull request as ready for review February 4, 2023 05:40
@kateinoigakukun kateinoigakukun merged commit 47a23ff into swiftwasm Feb 4, 2023
@kateinoigakukun kateinoigakukun deleted the katei/merge-main-2023-02-03 branch February 4, 2023 05:40
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.