mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Add an out-of-line destructor for SourceFile.
Note that we are currently leaking memory via SourceFile, see rdar://15964312 Swift SVN r13312
This commit is contained in:
@@ -1120,6 +1120,7 @@ SourceFile::SourceFile(Module &M, SourceFileKind K,
|
||||
performAutoImport(*this, hasBuiltinModuleAccess);
|
||||
}
|
||||
|
||||
SourceFile::~SourceFile() {}
|
||||
|
||||
bool FileUnit::walk(ASTWalker &walker) {
|
||||
SmallVector<Decl *, 64> Decls;
|
||||
|
||||
Reference in New Issue
Block a user