Allan Shortlidge
0e5cfa6259
NFC: Remove duplicated RUN lines from many SILOptimizer tests.
...
A previous PR (https://github.com/apple/swift/pull/32407 ) that mass-modified
tests left some duplicate `RUN:` lines behind.
2023-08-08 11:19:52 -07:00
Michael Gottesman
46432404f3
[ownership] Remove dead option: enable-ownership-stripping-after-serialization.
...
We always lower ownership now after the diagnostic passes (what this option
actually controlled). So remove it.
NFC.
2020-06-16 10:52:02 -07:00
Ravi Kandhadai
4e5389dacb
[Definite Initialization] Improve diagnostics for delegating, failable
...
initializers that do not initialize along all paths.
<rdar://problem/62562254>
2020-05-04 22:00:18 -07:00
Michael Gottesman
f10b45b540
[ownership] Add an extra run of -Onone tests with diagnostics with -enable-ownership-stripping-after-serialization enabled.
...
Right now the stdlib/overlays can compile against -Onone tests with or without
-enable-ownership-stripping-after-serialization. This will help me to prevent
other work going on from breaking these properties.
2019-10-26 15:12:14 -07:00
Michael Gottesman
3ebd8df493
[gardening] Remove unnecessary -enable-sil-ownership from tests that now just get it from their pattern.
...
This just eliminates -enable-sil-ownership from all target-swift-frontend and
target-swift-emit-silgen RUN lines. Both of those now include
enable-sil-ownership in their expansion.
2019-03-12 20:39:18 -07:00
Joe Groff
91bf80fdf4
Update tests based on review feedback.
2018-09-13 12:31:27 -07:00
Joe Groff
77a0923ca6
SILGen: Emit convenience initializers as allocating entry points.
...
And only dispatch designated inits by their allocating entry points. rdar://problem/29634243
2018-09-13 12:31:23 -07:00
Slava Pestov
3d5a16a1ca
DI: Use new 'self initialized' analysis in LifetimeChecker::isInitializedAtUse()
2017-10-20 16:10:33 -07:00
Slava Pestov
083ab8b806
DI: More tests for self-consumed analysis
2017-10-15 00:01:05 -07:00
Michael Gottesman
2cacbc6403
[di] Enable SIL Ownership verification on all definite init tests.
...
*NOTE* DefiniteInit is still running /after/ ownership is stripped. This is just
making sure that the code we are producing can actually pass the verifier.
rdar://31521023
2017-09-06 16:31:20 -07:00
Robert Widmann
4f465224ea
Polish off uses of dynamicType in tests
2016-07-29 16:59:14 -07:00
Manav Gabhawala
7928140f79
[SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary
2016-04-06 20:21:58 -04:00
Daniel Duan
780b58a9a5
[Parser] update tests for 'inout' syntax adjustment
2016-02-26 01:33:22 -08:00
Andrew Trick
bd35b4789c
Move test/SILOptimizer files to reflect lib/SILOptimizer.
2015-12-11 15:53:22 -08:00