[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

@@ -539,7 +539,7 @@ public:
virtual StringRef getPublicModuleName() const override;
virtual llvm::VersionTuple getSwiftInterfaceCompilerVersion() const override;
virtual version::Version getSwiftInterfaceCompilerVersion() const override;
ValueDecl *getMainDecl() const override;