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