Allan Shortlidge
6d879fbf7f
Merge pull request #76916 from tshortli/suppressible-isolated-deinit
...
Concurrency: Make `IsolatedDeinit` a suppressible feature
2024-10-08 20:48:42 -07:00
swift-ci
72676c2c4a
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-08 15:43:57 -07:00
Allan Shortlidge
7c09116bf1
Basic: Declare IsolatedDeinit as a suppressible feature.
2024-10-08 12:54:56 -07:00
Doug Gregor
70980b95f8
Add experimental feature MacrosOnImporters for applying macro to imported decl
...
This is still very much experimental and we don't want to accidentally
enable it everywhere.
2024-10-08 11:12:55 -07:00
swift-ci
9fd863f81e
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-08 10:50:24 -07:00
Steven Wu
5fa12d31ae
Merge pull request #76738 from cachemeifyoucan/eng/PR-136787368
...
[CAS] Use IncludeTreeFileList instead of full CASFS for caching
2024-10-08 10:42:24 -07:00
Allan Shortlidge
42ebee8dd1
AST: Improve TypeRefinementContext debug descriptions.
...
When printing the source ranges for nodes that represent an expansion within a
source file, print the range from the original source file and include a
description of the kind of expansion.
2024-10-08 09:55:28 -07:00
swift-ci
b8a5d2d6d7
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-03 01:35:42 -07:00
Konrad `ktoso` Malawski
dea3b59331
Merge pull request #76250 from ktoso/wip-experimental-isolated-deinit
2024-10-03 17:19:10 +09:00
swift-ci
32d286280a
Merge remote-tracking branch 'origin/main' into rebranch
2024-10-02 20:36:43 -07:00
Nate Chandler
9718aa5b29
[Driver] Pass -emit-irgen thru to frontend.
...
Add a new filetype for this mode option: "Raw LLVM IR". When the mode
option is emit-irgen, the new filetype will be the output kind;
conversely when determining the mode option to use, if the output kind
is the new filetype, the mode option will be emit-irgen.
2024-10-02 08:25:30 -07:00
Steven Wu
cd07d532af
[CAS] Use IncludeTreeFileList instead of full CASFS for caching
...
Use IncludeTreeFileList instead of full feature CASFS for swift
dependency filesystem. This allows smaller CAS based VFS that is smaller
and faster. This is enabled by the CAS enabled compilation does not
need to iterate file system.
rdar://136787368
2024-09-30 16:01:33 -07:00
swift-ci
e5f97d79c5
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-30 07:15:01 -07:00
nate-chandler
ba8f8ea282
Merge pull request #76526 from nate-chandler/general-coro/20240906/1
...
[CoroutineAccessors] Initial framing.
2024-09-30 07:04:04 -07:00
Konrad `ktoso` Malawski
45b97f146b
Merge branch 'main' into wip-experimental-isolated-deinit
2024-09-30 13:47:39 +09:00
swift-ci
b8a494b089
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-28 02:49:38 -07:00
Amritpan Kaur
6066418340
Merge pull request #73242 from amritpan/metatype-kp-implementation
2024-09-28 02:46:15 -07:00
Amritpan Kaur
8ebc928649
Guard feature behind experimental flag.
2024-09-27 22:42:04 -07:00
swift-ci
a655fe5edc
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-27 09:56:29 -07:00
Steven Wu
b2578749a3
Merge pull request #76737 from cachemeifyoucan/eng/PR-block-list-vfs
...
[Blocklist] Make sure blocklist config is read through VFS
2024-09-27 09:51:48 -07:00
Nate Chandler
66e6c59681
[Features] Added CoroutineAccessors.
2024-09-26 18:10:38 -07:00
swift-ci
feeba97fb2
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-26 17:49:11 -07:00
Steven Wu
82c9fdf68b
[Blocklist] Make sure blocklist config is read through VFS
...
Make sure block-list file is read through VFS so CASFS can be used to
read the configuration to ensure sound caching, and also the path of the
blocklist can be canonicalized via path remapping.
2024-09-26 17:02:10 -07:00
Allan Shortlidge
d373036805
SE-0444: Promote MemberImportVisibility to an upcoming feature.
...
The proposal has been accepted, so `MemberImportVisibility` is no longer
experimental.
Resolves rdar://126284512.
2024-09-26 13:41:14 -07:00
swift-ci
753b917274
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-25 05:36:07 -07:00
Slava Pestov
bfc4f956fd
Merge pull request #76662 from slavapestov/fine-grained-timers-flag
...
Add -fine-grained-timers flag
2024-09-25 08:26:08 -04:00
swift-ci
a0d7a9e5b8
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-24 19:19:27 -07:00
Rintaro Ishizaki
c57025af67
Avoid #include AST headers in Basic headers
...
Resolve a layering violation. `DiagnosticBehavior` was used in
`LangOptions`. Introduce a dedicated 'enum' for the possible values.
2024-09-24 15:18:26 -07:00
swift-ci
5b6002caeb
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-24 01:55:37 -07:00
Allan Shortlidge
0fb36a5f39
AST: Make $SpecializeAttributeWithAvailability a baseline feature.
...
It has been available since at least Swift 5.8.
2024-09-23 21:48:09 -07:00
Slava Pestov
c77fae3a2d
Basic: Add -fine-grained-timers flag
...
By default, -stats-output-dir does not collect per-request timers and
counters, because of overhead.
2024-09-23 18:04:25 -04:00
swift-ci
810501b86a
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-23 10:15:55 -07:00
Hiroshi Yamauchi
34def0ea27
Merge pull request #76589 from hjyamauchi/issue74866-3
...
Ensure that bridged types are indirectly returned on Windows ARM64
2024-09-23 10:00:31 -07:00
Konrad `ktoso` Malawski
d89347bed0
Merge branch 'main' into wip-experimental-isolated-deinit
2024-09-20 18:34:45 +09:00
Hiroshi Yamauchi
dedfb9e0ab
Ensure that bridged types are indirectly returned on Windows ARM64
...
On Windows ARM64, how a struct value type is returned is sensitive to
conditions including whether a user-defined constructor exists,
etc. See
https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#return-values
That caused a calling convention mismatch between the
non-USED_IN_CPP_SOURCE (Swift) side and the USE_IN_CPP_SOURCE (C++)
side and a crash.
Following https://github.com/swiftlang/swift/pull/76433 add
constructors to several bridged C++ struct/class types so that the
calling convention matches.
This is a partial fix for https://github.com/swiftlang/swift/issues/74866
2024-09-19 16:00:15 -07:00
swift-ci
9bd7daddb9
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-19 15:14:52 -07:00
Sima Nerush
7e5a57a07a
Guard the changes behind an experimental feature flag.
2024-09-19 10:09:56 -07:00
swift-ci
df338c19a8
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-19 09:34:45 -07:00
Gábor Horváth
4d01253674
Merge pull request #76429 from swiftlang/gaborh/safe-cxx-interop-mode
...
[cxx-interop] Introduce a safe C++ interop mode
2024-09-19 17:25:28 +01:00
Michael Gottesman
fb281331b3
Merge pull request #76558 from gottesmm/pr-39b63781333d46b16f086a7c192efc67b26255db
...
[concurrency] Behind the flag UnspecifiedMeansMainActorIsolated, try inferring by default main actor isolation instead of nonisolated for unspecified.
2024-09-19 09:18:33 -07:00
Gabor Horvath
929c0ca7d8
[cxx-interop] Introduce a safe C++ interop mode
...
In this mode all C++ types are imported as unsafe by default. Users
explicitly marking types are escapable or not escapable can make them
imported as safe. In the future, we also want to import unannotated
functions as unsafe and add more logic to infer types that are actually
safe, like agregates of escapable types.
2024-09-19 12:34:07 +01:00
Michael Gottesman
3843899c19
[concurrency] Behind the flag UnspecifiedMeansMainActorIsolated, try inferring by default main actor isolation instead of nonisolated for unspecified.
...
Just to play with.
2024-09-18 13:23:23 -07:00
swift-ci
6964118e7e
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-18 13:17:04 -07:00
Doug Gregor
6f88c228df
Maintain a buffer ID -> source file(s) mapping in the source manager
...
Now that every source file has a buffer ID, introduce the reverse mapping
so clients can find the source file(s) in their module that reference
that buffer ID.
2024-09-17 14:01:58 -07:00
Konrad `ktoso` Malawski
7d1ce789ad
Revert "Revert "Isolated synchronous deinit""
2024-09-17 17:35:38 +09:00
Ben Barham
a7b50f357f
Merge remote-tracking branch 'origin/main' into manual-main-merge
...
Conflicts:
- `lib/Driver/ToolChains.cpp` conflicting with the `addAllArgs` rename
for multiple options
2024-09-16 13:53:18 -07:00
Egor Zhdan
586ac0953c
Merge pull request #76408 from swiftlang/egorzhdan/scs-owned-string
...
[cxx-interop][SwiftCompilerSources] Do not use `SWIFT_IMPORT_UNSAFE` with `BridgedOwnedString`
2024-09-16 20:00:20 +01:00
Meghana Gupta
68bfc0d3b4
Make NonEscapableTypes as a suppressible experimental feature
2024-09-13 13:13:17 -07:00
Rintaro Ishizaki
107027920e
Merge pull request #76436 from rintaro/basic-remove-llvmjson
...
[Basic] Remove llvm::JSON C bridging
2024-09-12 19:40:27 -07:00
Kavon Farvardin
ba0aac3f39
Merge pull request #76093 from kavon/coldsplit-2
...
ColdBlockInfo: overhaul analysis pass
2024-09-12 16:06:07 -07:00