Holly Borla
e44c11f56f
[Macros] Remove the ExpandConformanceMacros request.
2023-06-30 14:25:14 -07:00
Holly Borla
c3e214cbde
[Macros] Expand conformance macros as extension macros.
...
ConformanceMacro now refines ExtensionMacro, so these roles can share
the same expansion request.
2023-06-30 14:25:14 -07:00
swift-ci
a9df3e2256
Merge pull request #67034 from artemcm/SimplifyConstExtractOpaqueTypes
...
[Compile Time Constant Extraction] Refactor collection of opaque type requirements to rely on pre-built Generic Signatures
2023-06-30 13:50:20 -07:00
Doug Gregor
139672f854
Merge pull request #67055 from DougGregor/rename-observation-module
...
[SE-0395] Rename _Observation module to Observation
2023-06-30 13:45:16 -07:00
Ben Barham
314a51c94c
Merge pull request #67065 from gottesmm/pr-6d9e336b29edc40419d446c0ee90ef7b9ae5f740
...
Disable moveonly_split_module_source_deinit.swift on arm64e
2023-06-30 13:37:42 -07:00
Michael Gottesman
cfe7b69451
Disable moveonly_split_module_source_deinit.swift on arm64e
...
rdar://110424902
2023-06-30 13:17:15 -07:00
Slava Pestov
8d713c3575
Merge pull request #67005 from slavapestov/lookup-visible-members-cleanup
...
Sema: Use getAllMembers() from collectVisibleMemberDecls()
2023-06-30 16:02:52 -04:00
Steven Wu
c470c81b9c
Merge pull request #66940 from cachemeifyoucan/eng/PR-dep-sharing-serivce-issue
...
[CAS][DependencyScanning] Don't keep a shared state of common file deps
2023-06-30 11:56:14 -07:00
Pavel Yaskevich
fab9e4bc62
Merge pull request #66987 from xedin/refactor-init-accessors-to-carry-more-info
...
[SIL] InitAccessors: Refactor `assign_or_init` instruction to carry "self"
2023-06-30 11:46:01 -07:00
Steven Wu
94e8ddcf0b
Merge pull request #67041 from cachemeifyoucan/eng/PR-fix-cas-depscan-edge-cases
...
[DepScan][CAS] Fix some cases in cas-based depscanning
2023-06-30 11:41:10 -07:00
Hamish Knight
5383c6da2e
Merge pull request #67048 from hamishknight/sieze-the-means-of-code-production
2023-06-30 19:40:52 +01:00
swift-ci
2e3d2ac431
Merge pull request #67050 from meg-gupta/arraypropopt
...
Fix check lines in array property opt test
2023-06-30 11:39:02 -07:00
Artem Chikin
72ed4e37ff
[Compile Time Constant Extraction] Refactor collection of opaque type requirements
...
To reduce duplication of logic with other parts of the compiler, instead of destructuring the constraint type, write the requirements in the opaque type declaration's generic signature.
2023-06-30 11:02:24 -07:00
Doug Gregor
6265f0c542
[SE-0395] Rename _Observation module to Observation
...
The review of SE-0395 is down to small details at this point that won't
affect the overall shape of the API much. Rename the model in
anticipation of that.
2023-06-30 11:01:02 -07:00
John McCall
61e8585352
Merge pull request #67040 from rjmccall/variadic-tuple-result-reabstraction-thunks
...
Handle variadic tuples in reabstraction thunk emission
2023-06-30 13:57:48 -04:00
Ben Barham
227c6a854d
Merge pull request #67053 from zoecarver/fix-math-test-linux-str-str
...
[cxx-interop][nfc] Disable test for strstr on Linux.
2023-06-30 10:32:35 -07:00
zoecarver
c58c661c87
[cxx-interop][nfc] Disable test for strstr on Linux.
2023-06-30 10:06:22 -07:00
Slava Pestov
89ad597fe3
Sema: Use getAllMembers() from collectVisibleMemberDecls()
...
I had to disable typo correction in one test case to get it to pass without
diagnosing a cycle as a result of Sendable checking. But that's OK, because:
- Sendable checking is prone to request cycles and needs to be redesigned
- Typo correction is turned off in production
2023-06-30 12:40:34 -04:00
Slava Pestov
fdb42fe031
Sema: Fix weird logic in TypeChecker::addImplicitConstructors()
2023-06-30 12:40:13 -04:00
Meghana Gupta
f8d90421ec
Fix check lines in array property opt test
2023-06-30 09:33:36 -07:00
Steven Wu
dfd11cfec4
[DepScan] Add missing field in JSON output
...
SwiftSourceModule can contain "commandLine" field and add that into the
JSON output format.
2023-06-30 09:09:27 -07:00
Ben Barham
91ccb2f504
Merge pull request #67049 from bnbarham/disable-distributed-test
...
[Test] Temporarily disable test to unblock PR testing
2023-06-30 09:09:13 -07:00
Ben Barham
488026cd3a
[Test] Temporarily disable test to unblock PR testing
2023-06-30 09:08:40 -07:00
Hamish Knight
ad9990ce39
Add myself as codeowner for IDE and SourceKit
2023-06-30 16:56:10 +01:00
Joe Groff
421c762862
Merge pull request #67031 from jckarter/allocbox-to-stack-remove-unused-original-bodies
...
AllocBoxToStack: Remove bodies of closure functions left unused after specialization.
2023-06-30 08:30:42 -07:00
Slava Pestov
6f8fd07bdf
Merge pull request #67037 from slavapestov/type-array-view
...
AST: Replace TypeArrayView<GenericTypeParamType> with ArrayRef<GenericTypeParamType *>
2023-06-30 08:33:31 -04:00
swift-ci
f1039c3f87
Merge pull request #67045 from eeckstein/fix-test
...
tests: disable dead_alloc.swift for pointersize=32
2023-06-30 02:32:26 -07:00
Slava Pestov
452ee89c40
Merge pull request #66915 from slavapestov/rdar111219086
...
SIL: Pass SubstFlags::PreservePackExpansionLevel in a few places
2023-06-30 05:10:00 -04:00
Slava Pestov
e05e3cd9b7
Merge pull request #67028 from slavapestov/fix-some-warnings
...
Fix some random compiler warnings
2023-06-30 05:09:46 -04:00
Erik Eckstein
172376c378
tests: disable dead_alloc.swift for pointersize=32
...
rdar://111548578
2023-06-30 09:39:10 +02:00
John McCall
c0777e611d
Handle vanishing and variadic tuple results in reabstraction thunks.
...
Fixes rdar://110391963
2023-06-30 02:08:57 -04:00
John McCall
65e2e8c2fe
Fix some SILArgument infrastructure for pack results.
...
Getting this right convinces the memory verifier to not complain
about untouched empty pack result arguments, which should be
innocuous.
2023-06-30 02:08:57 -04:00
swift-ci
1bcd73c55f
Merge pull request #64933 from ktoso/wip-group-param-docs
...
[docs][Concurrency] Fix typo in method signature in code snippets of groups
2023-06-29 22:27:47 -07:00
Konrad `ktoso` Malawski
6bfef94c9e
[docs][Concurrency] Include required parameter in group docs
...
[docs][Concurrency] Fix typo in method signature in code snippets of groups
2023-06-30 12:17:57 +09:00
Konrad `ktoso` Malawski
ab126c897c
Merge pull request #66852 from ktoso/wip-try-to-make-test
2023-06-30 12:14:48 +09:00
Dario Rexin
36914d9a68
Merge pull request #67039 from drexin/wip-mp-gen-destr-inject-tag
...
Support destructiveInjectEnumTag in generic multi payload enums with layout strings
2023-06-29 19:20:38 -07:00
Dario Rexin
cdcba010db
Merge pull request #67027 from apple/drexin-patch-6
...
[IRGen] Fix getEnumTag witness function selection
2023-06-29 17:09:42 -07:00
Yuta Saito
af9b8293e0
Merge pull request #67014 from swiftwasm/pr-5212f18969d0b9d9853af4bc8293cb156ac57eec
...
[wasm][stdlib] Add wasi-libc support for Heap.cpp
2023-06-30 09:00:08 +09:00
Yuta Saito
c5058c0831
Merge pull request #67013 from swiftwasm/pr-cd0bac9cf59ab923c6e0d79638c7c6cfbb5a2b50
...
[build] Fix cmake config for reflection test without dynamic stdlib
2023-06-30 08:59:18 +09:00
Steven Wu
0876a3e04f
Fix the command-line option from depscanner after caching option rename
2023-06-29 16:51:28 -07:00
John McCall
cc5854bd91
Prevent SimpleGeneratorRef from being used as the copy constructor.
2023-06-29 19:39:54 -04:00
John McCall
e14f2bc0c7
[NFC] Add a method to just ask if a tuple AP vanishes under substitution
2023-06-29 19:39:51 -04:00
Dario Rexin
707330c8bd
[IRGen] Emit swift_multiPayloadEnumGeneric_destructiveInjectEnumTag
...
Assign swift_multiPayloadEnumGeneric_destructiveInjectEnumTag as witness function on generic multi payload enums when using layout strings
2023-06-29 16:34:18 -07:00
Dario Rexin
8114ecc3e0
[Runtime] Add destructiveInjectEnumTag support for generic multi payload enums with layout strings
2023-06-29 16:34:10 -07:00
Dario Rexin
622f7a26e9
Merge pull request #67022 from drexin/wip-sp-gen-destr-inject-tag
...
Support destructiveInjectEnumTag in generic single payload enums with layout strings
2023-06-29 16:33:30 -07:00
Slava Pestov
8afff61699
AST: Replace TypeArrayView<GenericTypeParamType> with ArrayRef<GenericTypeParamType *>
...
This basically undoes 3da6fe9c0d , which in hindsight was wrong.
There were no other usages of TypeArrayView anywhere else except for
GenericSignature::getGenericParams(), and it was almost never what
you want, so callers had to convert back and forth to an ArrayRef.
Remove it.
2023-06-29 19:23:44 -04:00
Rintaro Ishizaki
e404c995fc
Merge pull request #67025 from rintaro/macros-public-message
...
[Macros] Unify PluginMessages.swift
2023-06-29 16:22:51 -07:00
Ben Barham
3b42963e6a
Merge pull request #67032 from bnbarham/fixedqueue-fix
...
[Test] Add executable test requirement to moveonly_fixedqueue.swift
2023-06-29 16:07:37 -07:00
Ben Barham
844508dcbc
[Test] Add executable test requirement to moveonly_fixedqueue.swift
...
Resolves rdar://111531602.
2023-06-29 14:09:59 -07:00
Ben Barham
5522d3d32f
Merge pull request #67030 from nate-chandler/test/20230629/1
...
[Test] Updated test for opaque ptrs.
2023-06-29 13:56:52 -07:00