Commit c39c8da
committed
[cxx-interop] Use APINotes to apply
This removes a special case in the compiler for these types, and applies the `import_owned` attribute to all instantiations of `vector` and `basic_string` via API Notes.import_owned attr to std::string and std::vector
1 parent a7a0b32 commit c39c8da
File tree
2 files changed
+7
-6
lines changed- lib/ClangImporter
- stdlib/public/Cxx/std
2 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6956 | 6956 | | |
6957 | 6957 | | |
6958 | 6958 | | |
6959 | | - | |
6960 | | - | |
6961 | | - | |
6962 | | - | |
6963 | | - | |
6964 | | - | |
6965 | 6959 | | |
6966 | 6960 | | |
6967 | 6961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments