Commit 81c7fb0
committed
[cxx-interop] Ensure that C++ structs are fully defined
Swift should never try to import C++ structs that are not fully defined. This is because Clang can't synthesize implicit members of such types, which might be necessary for Swift, e.g. a copy constructor.
This adds an assertion that makes sure that C++ structs are considered to be fully defined by Clang. This condition should already be satisfied.1 parent 7ea2b3d commit 81c7fb0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2764 | 2764 | | |
2765 | 2765 | | |
2766 | 2766 | | |
2767 | | - | |
2768 | | - | |
| 2767 | + | |
| 2768 | + | |
2769 | 2769 | | |
2770 | 2770 | | |
2771 | 2771 | | |
| |||
0 commit comments