File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -400,30 +400,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
400400 OS << SWIFT_VENDOR " " ;
401401#endif
402402
403- OS << " Swift version " SWIFT_VERSION_STRING;
404- #ifndef SWIFT_COMPILER_VERSION
405- OS << " -dev" ;
406- #endif
407-
408- if (effectiveVersion != Version::getCurrentLanguageVersion ()) {
409- OS << " effective-" << effectiveVersion;
410- }
411-
412- #if defined(SWIFT_COMPILER_VERSION)
413- OS << " (swiftlang-" SWIFT_COMPILER_VERSION;
414- #if defined(CLANG_COMPILER_VERSION)
415- OS << " clang-" CLANG_COMPILER_VERSION;
416- #endif
417- OS << " )" ;
418- #elif defined(LLVM_REVISION) || defined(SWIFT_REVISION)
419- OS << " (" ;
420- printFullRevisionString (OS);
421- OS << " )" ;
422- #endif
423-
424- // Suppress unused function warning
425- (void )&printFullRevisionString;
426-
403+ OS << " Swift version " SWIFT_VERSION_STRING " (swift-5.5.2-RELEASE)" ;
427404 return OS.str ();
428405}
429406
You can’t perform that action at this time.
0 commit comments