From 8a8fb1d7ba6388acc8ecdec0e7221c968d90249c Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Tue, 16 Aug 2016 19:35:05 -0700 Subject: [PATCH] Change version string to 'swift-3.0-PREVIEW-6'. --- lib/Basic/Version.cpp | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/lib/Basic/Version.cpp b/lib/Basic/Version.cpp index 9e3fe1b8efbff..728607748f66d 100644 --- a/lib/Basic/Version.cpp +++ b/lib/Basic/Version.cpp @@ -321,27 +321,7 @@ std::string getSwiftFullVersion() { OS << SWIFT_VENDOR " "; #endif - OS << "Swift version " SWIFT_VERSION_STRING; -#ifndef SWIFT_COMPILER_VERSION - OS << "-dev"; -#endif - -#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(CLANG_REVISION) || \ - defined(SWIFT_REVISION) - OS << " ("; - printFullRevisionString(OS); - OS << ")"; -#endif - - // Suppress unused function warning - (void) printFullRevisionString; - + OS << "Swift version " SWIFT_VERSION_STRING " (swift-3.0-PREVIEW-6)"; return OS.str(); }