Commit c859557
Gabor Horvath
[cxx-interop] Remove duplicated logic to import types as unsafe
After PR #79424 was merged the compiler proper is doing inference on
what C++ types should be considered unsafe. Remove the duplicated (and
slightly divergent) logic from the importer as we no longer need it and
we should have a consistent view of what is considered unsafe. The only
divergence left is the old logic that renames some methods to have
"Unsafe" in their names. In the future, we want to get rid of this
behavior (potentially under a new interop version).1 parent 9ffdbbf commit c859557
File tree
2 files changed
+6
-31
lines changed- lib/ClangImporter
- test/Interop/Cxx/class
2 files changed
+6
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8501 | 8501 | | |
8502 | 8502 | | |
8503 | 8503 | | |
8504 | | - | |
8505 | | - | |
8506 | | - | |
8507 | | - | |
8508 | | - | |
8509 | | - | |
8510 | | - | |
8511 | | - | |
8512 | | - | |
8513 | | - | |
8514 | | - | |
8515 | | - | |
8516 | | - | |
8517 | | - | |
8518 | | - | |
8519 | | - | |
8520 | | - | |
8521 | | - | |
8522 | | - | |
8523 | | - | |
8524 | | - | |
8525 | | - | |
8526 | | - | |
8527 | | - | |
8528 | | - | |
8529 | | - | |
8530 | | - | |
8531 | | - | |
8532 | | - | |
8533 | | - | |
8534 | 8504 | | |
8535 | 8505 | | |
8536 | 8506 | | |
| |||
8717 | 8687 | | |
8718 | 8688 | | |
8719 | 8689 | | |
8720 | | - | |
| 8690 | + | |
| 8691 | + | |
| 8692 | + | |
| 8693 | + | |
| 8694 | + | |
8721 | 8695 | | |
8722 | 8696 | | |
8723 | 8697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments