swift
4eb9c3be - [cxx-interop] Make sure to create empty initializers for C++ structs

Commit
2 years ago
[cxx-interop] Make sure to create empty initializers for C++ structs The existing synthesis mechanism had a bug: `cxxRecordDecl->hasDefaultConstructor()` returns true for C++ types with an implicit default constructor, for instance, `pthread_mutexattr_t`. rdar://113708880
Author
Committer
Parents
Loading