Commit 0ac53e3
committed
Sema: Only warn about
Resolves rdar://90779221.@_originallyDefinedIn attributes on non-public decls for the active platform. This prevents diagnostic spam for the common case where multiple platforms are listed in the same attribute. This has the unfortunate side effect that some useful diagnostics will be skipped depending on target platform, but it makes the behavior of this diagnostic consistent with the rest for this attribute.1 parent 3f37fc0 commit 0ac53e3
File tree
2 files changed
+10
-5
lines changed- lib/Sema
- test/Parse
2 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3475 | 3475 | | |
3476 | 3476 | | |
3477 | 3477 | | |
3478 | | - | |
| 3478 | + | |
3479 | 3479 | | |
3480 | 3480 | | |
3481 | | - | |
| 3481 | + | |
3482 | 3482 | | |
| 3483 | + | |
3483 | 3484 | | |
3484 | 3485 | | |
3485 | 3486 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments