Commit e7f493e
committed
[cxx-interop] Use clang lookups for std::pair conformance
Instead of looking up the *imported* first_type and second_type Swift
type aliases, this patch shifts the conformance to look up these
typedefs from Clang, and *then* imports them to Swift types to satisfy
the CxxPair conformance. Doing so removes the conformance's dependency
on eagerly importing such typedefs.1 parent 55bd1ce commit e7f493e
1 file changed
+15
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1128 | 1136 | | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1134 | 1142 | | |
1135 | 1143 | | |
1136 | 1144 | | |
1137 | | - | |
| 1145 | + | |
1138 | 1146 | | |
1139 | | - | |
| 1147 | + | |
1140 | 1148 | | |
1141 | 1149 | | |
1142 | 1150 | | |
| |||
0 commit comments