Commit Graph

1 Commits

Author SHA1 Message Date
Allan Shortlidge
432c6688d8 Sema: Relax @backDeployed availability conflict diagnostics.
Only diagnose `@backDeployed` as conflicting with unavailability if the
attribute that is making the declaration unavailable is unconditional or it is
for the same base platform. For example, it should be allowed to back deploy a
function on macOS while making that function unavailable for application
extensions on macOS.

Resolves rdar://107291474
2023-03-29 16:19:58 -07:00