Skip to content

Commit 1b8a7d6

Browse files
committed
Sema: Don't try to synthesize implicit initializers for imported structs
The ClangImporter already does everything here.
1 parent eea544f commit 1b8a7d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/TypeChecker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ TypeChecker::~TypeChecker() {
6565

6666
void TypeChecker::handleExternalDecl(Decl *decl) {
6767
if (auto SD = dyn_cast<StructDecl>(decl)) {
68-
addImplicitConstructors(SD);
6968
addImplicitStructConformances(SD);
7069
}
7170
if (auto CD = dyn_cast<ClassDecl>(decl)) {

0 commit comments

Comments
 (0)