Allan Shortlidge
7e181d17e5
Concurrency: Promote BuiltinCreateAsyncDiscardingTaskInGroupWithExecutor feature to baseline.
2024-07-02 22:26:55 -07:00
Allan Shortlidge
e5744f04d6
Concurrency: Promote BuiltinCreateAsyncDiscardingTaskInGroup feature to baseline.
2024-07-02 22:26:55 -07:00
Allan Shortlidge
a4d58671ba
Concurrency: Promote BuiltinCreateAsyncTaskInGroupWithExecutor feature to baseline.
2024-07-02 22:26:54 -07:00
Allan Shortlidge
f2519650ae
Concurrency: Promote BuiltinBuildComplexEqualityExecutor feature to baseline.
2024-07-02 22:26:54 -07:00
Allan Shortlidge
ba630c0da5
Concurrency: Promote BuiltinBuildTaskExecutorRef feature to baseline.
2024-07-02 22:26:54 -07:00
swift-ci
2201e05fb8
Merge remote-tracking branch 'origin/main' into rebranch
2024-07-02 14:15:46 -07:00
Michael Gottesman
34195ff213
Merge pull request #74610 from gottesmm/pr-324fd70c13e87a329334341aae4667f2d1be152c
...
[sending] Remove transferring.
2024-07-02 14:02:18 -07:00
Xiaodi Wu
e1f537107f
Merge branch 'main' into trailing-comma
2024-06-29 16:36:06 -04:00
swift-ci
f2e68e5db1
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-28 11:36:11 -07:00
Ben Barham
d8f381e660
Merge pull request #74804 from bnbarham/rename-equals
...
Update `StringRef::equals` references to `operator==`
2024-06-28 11:22:20 -07:00
swift-ci
fdbd048581
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-28 09:27:03 -07:00
Xi Ge
fb43cf6ffb
Merge pull request #74801 from beccadax/objcimpl-enablement
...
Enable @objc @implementation (SE-0436) as an ordinary language feature
2024-06-28 09:12:52 -07:00
Ben Barham
d72f5b12c4
Update StringRef::equals references to operator==
...
`equals` has been deprecated upstream, use `operator==` instead.
2024-06-27 19:14:06 -07:00
Ben Barham
b7954411ec
Merge remote-tracking branch 'origin/main' into manually-merge-main-to-rebranch
...
Conflicts:
- `include/swift/AST/PluginRegistry.h`
2024-06-27 14:56:11 -07:00
Becca Royal-Gordon
c19aaddd8c
Enable @objc @implementation feature
2024-06-27 14:51:27 -07:00
Kavon Farvardin
1e2111afca
NCGenerics: add flag to opt-out SE-427 strictness
...
This is mainly for tests to avoid the reverse condfail.
2024-06-26 17:10:33 -07:00
swift-ci
517860f681
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-25 23:55:09 -07:00
Erik Eckstein
81005c18a2
SwiftCompilerSources: forward assertion and precondition failures to the assertion-handling in the C++ code base.
2024-06-25 14:14:43 +02:00
Erik Eckstein
718ea4b018
replace require with the new ASSERT macro
2024-06-25 10:45:55 +02:00
swift-ci
54c3771c92
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-22 14:34:31 -07:00
Slava Pestov
19a991c530
Basic: Handle missing __FILE_NAME__ on Windows
2024-06-22 08:53:22 -04:00
Michael Gottesman
112071e57d
[sending] Remove transferring.
...
Out of an abundance of caution, we:
1. Left in parsing support for transferring but internally made it rely on the
internals of sending.
2. Added a warning to tell people that transferring was going to
be removed very soon.
Now that we have given people some time, remove support for parsing
transferring.
rdar://130253724
2024-06-21 16:03:21 -07:00
Slava Pestov
8ebd36e629
Basic: Fix operator precedence issues with ASSERT macro
2024-06-21 16:21:36 -04:00
swift-ci
45f211ca23
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-20 16:36:43 -07:00
Tim Kientzle
174983f619
Merge pull request #74581 from tbkka/tbkka-assertions-2
...
Minor improvements to new ASSERT macros
2024-06-20 16:34:23 -07:00
Tim Kientzle
967fde0750
Minor improvements to new ASSERT macros
...
Three minor changes:
* Remove unneeded stdint.h inclusion
* Use __FILE_NAME__ instead of __FILE__ to reduce code size
* Write location as "file:line" for better compatibility with existing tools
2024-06-20 11:34:36 -07:00
swift-ci
7bdccb824a
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-19 10:35:32 -07:00
Holly Borla
4bec599931
Merge pull request #74543 from hborla/promote-isolated-any
...
[Features] Promote `IsolatedAny` and its alias to a language feature.
2024-06-19 10:32:30 -07:00
Holly Borla
966269d31a
[Features] Promote IsolatedAny and its alias to a language feature.
...
The proposal is accepted and implemented for Swift 6.0.
2024-06-18 22:09:16 -07:00
Mateus Rodrigues
013997dae7
Implement trailing comma for comma-separated lists
2024-06-18 14:01:38 -03:00
swift-ci
90e423a11e
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-15 19:15:50 -07:00
Holly Borla
32aba12db3
[Features] FullTypedThrows should only be enable-able in asserts builds.
...
The implementation of this experimental feature is not complete and it's
not ready to be enabled in production.
2024-06-14 21:21:27 -07:00
swift-ci
2cf1694e17
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-10 08:54:15 -07:00
Joe Groff
f819bed190
Make BorrowingSwitch a LANGUAGE_FEATURE.
...
It doesn't guard any source breaks, so it doesn't need to be an UPCOMING_FEATURE.
rdar://129417451
2024-06-07 14:26:23 -07:00
swift-ci
8e1f8e5668
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-05 21:14:30 -07:00
Joe Groff
efc193ffa3
Merge pull request #74154 from jckarter/treat-reinit-attempts-in-multi-block-defers-as-errors
...
Turn mishandled reinitialize-in-`defer`-after-`consume` cases into errors.
2024-06-05 21:04:34 -07:00
Joe Groff
74aaf88697
Turn mishandled reinitialize-in-defer-after-consume cases into errors.
...
The handling of multi-basic-block control flow in `defer` blocks looks like it
was left incomplete and completely untested; I fixed a few obvious problems but
it still completely lacks any analysis of conditional reinitializations. For now,
change it to treat attempted reinitializations as uses-after-consumes so we raise
reliable errors now instead of emitting code that causes memory corruption at
runtime. Fixes rdar://129303198.
2024-06-05 14:12:00 -07:00
swift-ci
8c10cc2271
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-03 21:55:36 -07:00
Konrad `ktoso` Malawski
083fdaa0de
Merge pull request #73998 from nickolas-pohilets/mpokhylets/fix-32-build
2024-06-04 13:49:19 +09:00
swift-ci
5abac881ad
Merge remote-tracking branch 'origin/main' into rebranch
2024-06-02 15:34:45 -07:00
Michael Gottesman
88729b9e34
[sending] Make {Transferring,Sending}ArgsAndResults a LANGUAGE_FEATURE instead of an UPCOMING_FEATURE.
...
TLDR: This makes it so that we always can parse sending/transferring but changes
the semantic language effects to be keyed on RegionBasedIsolation instead.
----
The key thing that makes this all work is that I changed all of the "special"
semantic changes originally triggered on *ArgsAndResults to now be triggered
based on RegionBasedIsolation being enabled. This makes a lot of sense since we
want these semantic changes specifically to be combined with the checkers that
RegionBasedIsolation turns on. As a result, even though this causes these two
features to always be enabled, we just parse it but we do not use it for
anything semantically.
rdar://128961672
2024-06-01 23:25:16 -07:00
swift-ci
1761e80209
Merge remote-tracking branch 'origin/main' into rebranch
2024-05-31 09:54:45 -07:00
Rintaro Ishizaki
13944dcc0a
Merge pull request #74031 from rintaro/basic-fixedbitset-chunkmask
...
[Basic] Fix return type of FixedBitSet::chunkMask()
2024-05-31 09:51:05 -07:00
Rintaro Ishizaki
a8cc312e50
[Basic] Fix return type of FixedBitSet::chunkMask()
...
Fix a warning in msvc compiler: warning C4334: '<<': result of 32-bit
shift implicitly converted to 64 bits (was 64-bit shift intended?)
2024-05-30 13:36:29 -07:00
Mykola Pokhylets
987b641a7c
Updated HeaderFooterLayout to correctly handle empty Header or Footer
2024-05-30 21:56:28 +02:00
swift-ci
63205ba9a2
Merge remote-tracking branch 'origin/main' into rebranch
2024-05-30 09:54:36 -07:00
Rauhul Varma
9a280613c3
Merge pull request #73963 from apple/cxx-swift-symbolgraph-extract
...
[SymbolGraphGen] Handle cxx module imports in swift-symbolgraph-extract
2024-05-30 09:48:57 -07:00
Mykola Pokhylets
b5e039d1e0
Fixed 32-bit build with SWIFT_CONCURRENCY_ENABLE_PRIORITY_ESCALATION
2024-05-30 13:15:39 +02:00
Mykola Pokhylets
6298d41edf
Reapply "Fix quadratic performance of the ListMerger in specific usage pattern"
...
This reverts commit 2640ff613b .
2024-05-30 13:08:42 +02:00
Rauhul Varma
808ccd47ff
[SymbolGraphGen] Handle cxx module imports in swift-symbolgraph-extract
...
Updates swift-symbolgraph-extract to parse "-cxx-interoperability-mode"
flags and update the underlying compiler invocation. This fixes a bug
where were are unable to extract the symbol graph from swiftmodules with
transitive cxx modules because we parsed cxx headers as c headers.
rdar://128888548 (Add support for parsing cxx headers)
2024-05-29 13:03:27 -07:00