mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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