Skip to content

Commit

Permalink
Change version string to 'swift-3.0-PREVIEW-2'.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahmishal committed Jul 7, 2016
1 parent a82f9ca commit 53b87f6
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions lib/Basic/Version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,23 +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
OS << "Swift version " SWIFT_VERSION_STRING " (swift-3.0-PREVIEW-2)";
return OS.str();
}

Expand Down

0 comments on commit 53b87f6

Please sign in to comment.