Commit 8307a8d
committed
[Sema] Don't require availability for implicit decls
Suppress warnings in synthesized code. The parent decls should already
show a warning.
require_explicit_availability.StructWithImplicitMembers:2:16: warning:
public declarations should have an availability attribute when building
with -require-explicit-availability
public var hashValue: Int { get }
^1 parent 9163277 commit 8307a8d
File tree
2 files changed
+11
-2
lines changed- lib/Sema
- test/attr
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2900 | 2900 | | |
2901 | 2901 | | |
2902 | 2902 | | |
2903 | | - | |
| 2903 | + | |
2904 | 2904 | | |
2905 | | - | |
| 2905 | + | |
| 2906 | + | |
2906 | 2907 | | |
2907 | 2908 | | |
2908 | 2909 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
0 commit comments