Commit d39667c
committed
[Sema] Don't drop weak_import from a declaration that follows a
declaration directly contained in a linkage-specification
Only drop it if the declaration follows a definition. I believe this is
what 33e0226 was trying to do.
rdar://618658481 parent 6f31cf5 commit d39667c
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4613 | 4613 | | |
4614 | 4614 | | |
4615 | 4615 | | |
4616 | | - | |
4617 | | - | |
| 4616 | + | |
4618 | 4617 | | |
4619 | 4618 | | |
4620 | 4619 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
0 commit comments