Commit Graph

8 Commits

Author SHA1 Message Date
Meghana Gupta
8d3f38623d [NFC] Update tests and diagnostics 2025-06-11 13:15:22 -07:00
Guillaume Lessard
ca8fc0ec04 [test] remove more copies of _overrideLifetime() 2025-05-07 17:14:14 -07:00
Alejandro Alonso
c1bb143648 Make ValueGenerics feature always available 2025-02-27 10:03:37 -08:00
Andrew Trick
9f0ee6dcd0 [NFC] cleanup test/SILOptimizer/addressable_dependencies.swift
Don't use -disable-access-control. Just copy things over from the
stdlib.
2025-01-14 16:26:18 -08:00
Andrew Trick
8b02bd7ecc Fix addressable_dependencies.swift test.
Use _overrideLifetime to avoid a diagnostic error.
2025-01-13 16:36:40 -08:00
Joe Groff
b291cf42a1 SIL: Consider Builtin.FixedArray and @_rawLayout types to be structurally addressable-for-dependencies.
A primary purpose of these features is to enable persistent references into their storage, so it's
reasonable to assume this property for these types and types containing them.
2025-01-08 10:17:14 -08:00
Joe Groff
31ec17556c SIL: Only lower nominal types marked with @_addressableForDependencies as such.
I accidentally typoed the RecursiveProperties constructor so that every type
was getting treated as addressable-for-dependencies. Oops.
2025-01-06 18:16:28 -08:00
Joe Groff
a25edb2185 Make Builtin.addressForBorrow work with addressable parameters. 2025-01-02 21:33:55 -08:00