mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Refactor subset of ModuleFile into ModuleFileSharedCore
The difference with `ModuleFile` is that `ModuleFileSharedCore` provides immutable data and is independent of a particular ASTContext. It is designed to be able to be shared across multiple `ModuleFile`s of different `ASTContext`s in a thread-safe manner.
This commit is contained in:
1447
lib/Serialization/ModuleFileSharedCore.cpp
Normal file
1447
lib/Serialization/ModuleFileSharedCore.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user