Commit e3618dd
committed
[Clang importer] Report auxiliary decls from C++ member lookup
When performing name lookup into a C++ record type, make sure that we
also walk through auxiliary declarations (i.e., declarations that can
come from peer macro expansions) to find results.
Fixes rdar://146833294.1 parent 01b2789 commit e3618dd
File tree
2 files changed
+59
-4
lines changed- lib/ClangImporter
- test/Interop/Cxx/swiftify-import
2 files changed
+59
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6200 | 6200 | | |
6201 | 6201 | | |
6202 | 6202 | | |
6203 | | - | |
| 6203 | + | |
6204 | 6204 | | |
| 6205 | + | |
| 6206 | + | |
| 6207 | + | |
| 6208 | + | |
| 6209 | + | |
| 6210 | + | |
| 6211 | + | |
| 6212 | + | |
| 6213 | + | |
| 6214 | + | |
| 6215 | + | |
| 6216 | + | |
| 6217 | + | |
| 6218 | + | |
| 6219 | + | |
| 6220 | + | |
| 6221 | + | |
| 6222 | + | |
| 6223 | + | |
| 6224 | + | |
| 6225 | + | |
| 6226 | + | |
| 6227 | + | |
| 6228 | + | |
6205 | 6229 | | |
6206 | 6230 | | |
6207 | 6231 | | |
| |||
6236 | 6260 | | |
6237 | 6261 | | |
6238 | 6262 | | |
6239 | | - | |
| 6263 | + | |
| 6264 | + | |
6240 | 6265 | | |
6241 | 6266 | | |
6242 | 6267 | | |
| |||
6255 | 6280 | | |
6256 | 6281 | | |
6257 | 6282 | | |
6258 | | - | |
| 6283 | + | |
6259 | 6284 | | |
6260 | 6285 | | |
6261 | 6286 | | |
| |||
6304 | 6329 | | |
6305 | 6330 | | |
6306 | 6331 | | |
6307 | | - | |
| 6332 | + | |
6308 | 6333 | | |
6309 | 6334 | | |
6310 | 6335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments