swift
b63e9bab - [cxx-interop] Avoid linker errors for multiple instantiations of a templated struct with non-type parameters

Commit
2 years ago
[cxx-interop] Avoid linker errors for multiple instantiations of a templated struct with non-type parameters When mangling the name of a C++ template specialization, we currently ignore non-type templated parameter. This causes two different instantiations of the same templated type to have the same mangled name, triggering linker errors. This change makes sure we mangle all of the templated parameters by relying on Clang mangling logic. rdar://107757051
Author
Committer
Parents
Loading