mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The lookup cache isn't allocated in the ASTContext, so seting up a destructor cleanup isn't sufficient to get the memory released. Luckily SourceFile and BuiltinUnit already have their own destructor called, so we can use std::unique_ptr. rdar://problem/22387897 Swift SVN r31561
55 KiB
55 KiB