File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -388,31 +388,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
388388 OS << SWIFT_VENDOR " " ;
389389#endif
390390
391- OS << " Swift version " SWIFT_VERSION_STRING;
392- #ifndef SWIFT_COMPILER_VERSION
393- OS << " -dev" ;
394- #endif
395-
396- if (!(effectiveVersion == Version::getCurrentLanguageVersion ())) {
397- OS << " effective-" << effectiveVersion;
398- }
399-
400- #if defined(SWIFT_COMPILER_VERSION)
401- OS << " (swiftlang-" SWIFT_COMPILER_VERSION;
402- #if defined(CLANG_COMPILER_VERSION)
403- OS << " clang-" CLANG_COMPILER_VERSION;
404- #endif
405- OS << " )" ;
406- #elif defined(LLVM_REVISION) || defined(CLANG_REVISION) || \
407- defined (SWIFT_REVISION)
408- OS << " (" ;
409- printFullRevisionString (OS);
410- OS << " )" ;
411- #endif
412-
413- // Suppress unused function warning
414- (void )&printFullRevisionString;
415-
391+ OS << " Swift version " SWIFT_VERSION_STRING " (swift-4.1-RELEASE)" ;
416392 return OS.str ();
417393}
418394
You can’t perform that action at this time.
0 commit comments