[Frontend] Switch -interface-compiler-version to Version

`SWIFT_COMPILER_VERSION` has more than 4 components and it's
easier to use `Version` API over `VersionTuple` as well.
This commit is contained in:
Pavel Yaskevich
2024-11-18 10:09:55 -08:00
parent 26e888e45e
commit 7c8000b3a5
13 changed files with 55 additions and 28 deletions

View File

@@ -106,7 +106,7 @@ class ModuleFileSharedCore {
/// The version of the Swift compiler used to produce swiftinterface
/// this module is based on. This is the most precise version possible
/// - a compiler tag or version if this is a development compiler.
llvm::VersionTuple SwiftInterfaceCompilerVersion;
version::Version SwiftInterfaceCompilerVersion;
/// \c true if this module has incremental dependency information.
bool HasIncrementalInfo = false;