Commit 432c668
committed
Sema: Relax
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@backDeployed availability conflict diagnostics.1 parent be620b8 commit 432c668
File tree
3 files changed
+22
-9
lines changed- lib/Sema
- test/attr
3 files changed
+22
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4320 | 4320 | | |
4321 | 4321 | | |
4322 | 4322 | | |
4323 | | - | |
4324 | | - | |
4325 | | - | |
4326 | | - | |
4327 | | - | |
4328 | | - | |
4329 | | - | |
4330 | | - | |
4331 | | - | |
| 4323 | + | |
| 4324 | + | |
| 4325 | + | |
| 4326 | + | |
| 4327 | + | |
| 4328 | + | |
| 4329 | + | |
| 4330 | + | |
| 4331 | + | |
| 4332 | + | |
| 4333 | + | |
| 4334 | + | |
| 4335 | + | |
4332 | 4336 | | |
4333 | 4337 | | |
4334 | 4338 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments