Commit Graph

5 Commits

Author SHA1 Message Date
Michael Gottesman
32b4de60a9 Rename transfer -> send.
Accomplished using clangd's rename functionality.
2024-11-04 15:17:51 -08:00
Michael Gottesman
9eb5d7fce2 Update tests that were added before I finished this. 2024-08-01 13:53:04 -07:00
Michael Gottesman
58fd432e6c Remove clang optimize off and loosen an error in the swift-version test. 2024-05-05 19:33:11 -07:00
Michael Gottesman
1eacf03969 [sil-opt] Tighten up how we handle strict concurrency and upcoming features so we match swift-frontend.
Specifically:

1. I added the "upcoming feature already enabled in this swift-version"
diagnostic.

2. I taught sil-opt that in swift-6 mode strict concurrency is enabled by
default.
2024-04-29 18:43:57 -07:00
Michael Gottesman
a29acccf08 [sil-opt] Add the ability to specify a swift-version.
I implemented this by adding a new option called swift-version. If not set, we
just leave LangOpts.EffectiveLanguageVersion alone and get whatever that default
behavior is. If it is set, we use the same version parsing infrastructure used
by the normal frontend. If the parse fails, we exit -1.

To write the test that I wanted to write to show this behavior, I also needed to
add support to sil-opt for verify-additional-prefixes which is just useful
goodness.
2024-04-29 18:43:57 -07:00