Commits

Jordan Rose committed 76b19d53c43
[serialization] Deserialize typealiases and builtin types. This includes the reading half of BCRecordLayout metaprogramming, and then a fairly straightforward deserialize-and-cache implementation in ModuleFile. Once again, this is based on Clang's module implementation: decls and types are referred to by an ID, which is used as an index into an array, which contains offsets to the definitions of the decl/type in the "decls-and-types" block in the serialized module. In order to test the feature, the code is currently eagerly deserializing all declarations. This will be partially fixed in the next commit. Swift SVN r5324