Commit 411ad87
committed
[Sema] Ignore "exportability" check for non-public code
Exportability checking logic detects when decls are referenced from API
or inlinable code. This duplicates the check applied for the access
level. Skip the exportability reports about non-public imports and keep
the more familiar access-level check.1 parent e90e2de commit 411ad87
File tree
2 files changed
+8
-2
lines changed- include/swift/AST
- lib/Sema
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3436 | 3436 | | |
3437 | 3437 | | |
3438 | 3438 | | |
3439 | | - | |
| 3439 | + | |
| 3440 | + | |
3440 | 3441 | | |
3441 | 3442 | | |
3442 | 3443 | | |
| |||
6567 | 6568 | | |
6568 | 6569 | | |
6569 | 6570 | | |
6570 | | - | |
| 6571 | + | |
| 6572 | + | |
6571 | 6573 | | |
6572 | 6574 | | |
6573 | 6575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
| |||
0 commit comments