Commit 65eaafe
committed
[cxx-interop] Keep pulling in the entire libc++
libc++ recently split the `std` module into many top-level modules: llvm/llvm-project@571178a
Previously if a C++ module had `#include <iosfwd>`, importing that module in Swift would make the entire C++ stdlib visible from Swift, since it was a single top-level Clang module. After libc++ got split it doesn't automatically do so, but we need to preserve the current behavior for Swift users.
rdar://1192704911 parent 5e0bcab commit 65eaafe
File tree
3 files changed
+29
-11
lines changed- include/swift/ClangImporter
- lib/ClangImporter
3 files changed
+29
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
640 | 645 | | |
641 | 646 | | |
642 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2163 | 2163 | | |
2164 | 2164 | | |
2165 | 2165 | | |
2166 | | - | |
| 2166 | + | |
| 2167 | + | |
2167 | 2168 | | |
2168 | 2169 | | |
2169 | 2170 | | |
| |||
3985 | 3986 | | |
3986 | 3987 | | |
3987 | 3988 | | |
| 3989 | + | |
| 3990 | + | |
| 3991 | + | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
3988 | 3996 | | |
3989 | 3997 | | |
3990 | 3998 | | |
| |||
7624 | 7632 | | |
7625 | 7633 | | |
7626 | 7634 | | |
7627 | | - | |
7628 | | - | |
7629 | | - | |
7630 | | - | |
7631 | | - | |
7632 | | - | |
| 7635 | + | |
7633 | 7636 | | |
7634 | 7637 | | |
7635 | 7638 | | |
| |||
7643 | 7646 | | |
7644 | 7647 | | |
7645 | 7648 | | |
| 7649 | + | |
| 7650 | + | |
| 7651 | + | |
| 7652 | + | |
| 7653 | + | |
| 7654 | + | |
| 7655 | + | |
| 7656 | + | |
| 7657 | + | |
| 7658 | + | |
| 7659 | + | |
| 7660 | + | |
7646 | 7661 | | |
7647 | 7662 | | |
7648 | 7663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3389 | 3389 | | |
3390 | 3390 | | |
3391 | 3391 | | |
3392 | | - | |
3393 | | - | |
3394 | | - | |
3395 | | - | |
| 3392 | + | |
| 3393 | + | |
3396 | 3394 | | |
3397 | 3395 | | |
3398 | 3396 | | |
| |||
0 commit comments