swift
8202dfde - [cxx-interop] Do not emit spurious lifetime diagnostics for C++ types

Commit
301 days ago
[cxx-interop] Do not emit spurious lifetime diagnostics for C++ types In rare scenarios, Swift was emitting diagnostics that looked like this: ``` warning: 'import_owned' swift attribute ignored on type 'basic_string': type is not copyable or destructible ``` This change makes sure the compiler does not emit these (incorrect) warnings. See the inline comment for more details.
Author
Committer
Parents
Loading