mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Cache the transformation of Swift types to Clang types.
Should fix <rdar://16830685>. Swift SVN r18247
This commit is contained in:
@@ -257,9 +257,12 @@ IRGenModule::IRGenModule(ASTContext &Context,
|
||||
if (Opts.DebugInfo) {
|
||||
DebugInfo = new IRGenDebugInfo(Opts, *CI, *this, Module);
|
||||
}
|
||||
|
||||
initClangTypeConverter();
|
||||
}
|
||||
|
||||
IRGenModule::~IRGenModule() {
|
||||
destroyClangTypeConverter();
|
||||
delete &Types;
|
||||
if (DebugInfo)
|
||||
delete DebugInfo;
|
||||
|
||||
Reference in New Issue
Block a user