Files
swift-mirror/test/Sema/implementation-only-import-from-non-resilient.swift
Alexis Laferrière 6c3c108b1e Sema: Limit the warning about @_implementationOnly imports deprecation to Swift targets
Preserve the warning to use `internal import` instead of `@_implementationOnly`
to imports of Swift modules only. This warning can be noisy, limiting it may
prevent users from outright learning to ignore it. Typical uses of an
`@_implementationOnly` import of a clang module is often for a project
internal module instead of a layering concern as we have with Swift module
targets. We can leave legacy uses of `@_implementationOnly` in peace for now.
2024-09-05 10:40:36 -07:00

2.6 KiB