Skip to content

Commit

Permalink
Change version string to 'swift-5.1.5-RELEASE'
Browse files Browse the repository at this point in the history
  • Loading branch information
shahmishal committed Mar 5, 2020
1 parent 57e09c0 commit 30c042c
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions lib/Basic/Version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,31 +409,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(CLANG_REVISION) || \
defined(SWIFT_REVISION)
OS << " (";
printFullRevisionString(OS);
OS << ")";
#endif

// Suppress unused function warning
(void)&printFullRevisionString;

OS << "Swift version " SWIFT_VERSION_STRING " (swift-5.1.5-RELEASE)";
return OS.str();
}

Expand Down

0 comments on commit 30c042c

Please sign in to comment.