Commit Graph

9 Commits

Author SHA1 Message Date
Meghana Gupta
44e05fa858 [NFC] Update tests and diagnostics 2025-06-07 12:49:01 -07:00
Andrew Trick
64a48d08e1 Update tests for strict @lifetime type checking 2025-03-19 11:59:04 -07:00
Doug Gregor
b7b5a2a19d [SE-0458] Enable unsafe expressions / attributes / for..in effects by default
With the acceptance of SE-0458, allow the use of unsafe expressions, the
@safe and @unsafe attributes, and the `unsafe` effect on the for..in loop
in all Swift code.

Introduce the `-strict-memory-safety` flag detailed in the proposal to
enable strict memory safety checking. This enables a new class of
feature, an optional feature (that is *not* upcoming or experimental),
and which can be detected via `hasFeature(StrictMemorySafety)`.
2025-02-26 12:30:07 -08:00
Doug Gregor
3c8ef82963 Enable usable of Span by default
Usage of Span was temporarily behind an experimental feature flag. Now
that SE-0447 has been accepted, remove the experimental feature flag and
allow Span usage everywhere.

Implements rdar://144819992.
2025-02-14 10:45:47 -08:00
Meghana Gupta
0a860a1215 [Test] Enable test for all platforms and update check lines 2025-02-10 12:37:11 -08:00
Meghana Gupta
2ac449a545 Update SIL and LLVM check lines 2025-02-09 16:44:54 -08:00
Meghana Gupta
c5f36181a5 Update _overrideLifetime and use -O 2025-02-09 10:48:34 -08:00
Andrew Trick
85ec364c13 Fix mutable_span_bounds_check_tests.swift on iOS: REQUIRES: OS=macosx 2025-02-08 06:16:37 -08:00
Meghana Gupta
3da2b90242 Add some span unit tests for bounds check optimizations 2025-02-07 02:01:36 -08:00