mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Serialization] Add -swift-compiler-version option to swiftmodules
This commit is contained in:
@@ -103,6 +103,12 @@ class ModuleFileSharedCore {
|
||||
/// Name to use in public facing diagnostics and documentation.
|
||||
StringRef PublicModuleName;
|
||||
|
||||
/// The version of the Swift compiler used to produce swiftinterface
|
||||
/// this module is based on or build the module itself. This is
|
||||
/// the most precise version possible - a compiler tag or version
|
||||
/// if this is a development compiler.
|
||||
llvm::VersionTuple SwiftCompilerVersion;
|
||||
|
||||
/// \c true if this module has incremental dependency information.
|
||||
bool HasIncrementalInfo = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user