From 75ee22a51df9d89ae21597fad5eb21b5375fd160 Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Tue, 15 Oct 2024 23:46:24 -0700 Subject: [PATCH] Change version string to 'swift-6.0.2-RELEASE' --- lib/Basic/Version.cpp | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/lib/Basic/Version.cpp b/lib/Basic/Version.cpp index f5ddc1dbf2f15..e69596ddb27a4 100644 --- a/lib/Basic/Version.cpp +++ b/lib/Basic/Version.cpp @@ -254,30 +254,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) { OS << SWIFT_VENDOR " "; #endif - OS << "Swift version " SWIFT_VERSION_STRING; -#ifndef SWIFT_COMPILER_VERSION - OS << "-dev"; -#endif - - if (effectiveVersion != Version::getCurrentLanguageVersion()) { - OS << " effective-" << effectiveVersion; - } - -#if defined(SWIFT_COMPILER_VERSION) - OS << " (swiftlang-" SWIFT_COMPILER_VERSION; -#if defined(CLANG_COMPILER_VERSION) - OS << " clang-" CLANG_COMPILER_VERSION; -#endif - OS << ")"; -#elif defined(LLVM_REVISION) || defined(SWIFT_REVISION) - OS << " ("; - printFullRevisionString(OS); - OS << ")"; -#endif - - // Suppress unused function warning - (void)&printFullRevisionString; - + OS << "Swift version " SWIFT_VERSION_STRING " (swift-6.0.2-RELEASE)"; return OS.str(); }