Skip to content

Commit 0e3bde6

Browse files
committed
[ClangImporter] call addImplicitDestructor() on imported CF types.
1 parent 3de4297 commit 0e3bde6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4970,6 +4970,7 @@ SwiftDeclConverter::importCFClassType(const clang::TypedefNameDecl *decl,
49704970
}
49714971
}
49724972

4973+
theClass->addImplicitDestructor();
49734974
return theClass;
49744975
}
49754976

0 commit comments

Comments
 (0)