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 @@ -246,30 +246,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
246246 OS << SWIFT_VENDOR " " ;
247247#endif
248248
249- OS << " Swift version " SWIFT_VERSION_STRING;
250- #ifndef SWIFT_COMPILER_VERSION
251- OS << " -dev" ;
252- #endif
253-
254- if (effectiveVersion != Version::getCurrentLanguageVersion ()) {
255- OS << " effective-" << effectiveVersion;
256- }
257-
258- #if defined(SWIFT_COMPILER_VERSION)
259- OS << " (swiftlang-" SWIFT_COMPILER_VERSION;
260- #if defined(CLANG_COMPILER_VERSION)
261- OS << " clang-" CLANG_COMPILER_VERSION;
262- #endif
263- OS << " )" ;
264- #elif defined(LLVM_REVISION) || defined(SWIFT_REVISION)
265- OS << " (" ;
266- printFullRevisionString (OS);
267- OS << " )" ;
268- #endif
269-
270- // Suppress unused function warning
271- (void )&printFullRevisionString;
272-
249+ OS << " Swift version " SWIFT_VERSION_STRING " (swift-5.8.1-RELEASE)" ;
273250 return OS.str ();
274251}
275252
You can’t perform that action at this time.
0 commit comments