File tree 1 file changed +1
-25
lines changed
1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -409,31 +409,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
409
409
OS << SWIFT_VENDOR " " ;
410
410
#endif
411
411
412
- OS << " Swift version " SWIFT_VERSION_STRING;
413
- #ifndef SWIFT_COMPILER_VERSION
414
- OS << " -dev" ;
415
- #endif
416
-
417
- if (!(effectiveVersion == Version::getCurrentLanguageVersion ())) {
418
- OS << " effective-" << effectiveVersion;
419
- }
420
-
421
- #if defined(SWIFT_COMPILER_VERSION)
422
- OS << " (swiftlang-" SWIFT_COMPILER_VERSION;
423
- #if defined(CLANG_COMPILER_VERSION)
424
- OS << " clang-" CLANG_COMPILER_VERSION;
425
- #endif
426
- OS << " )" ;
427
- #elif defined(LLVM_REVISION) || defined(CLANG_REVISION) || \
428
- defined (SWIFT_REVISION)
429
- OS << " (" ;
430
- printFullRevisionString (OS);
431
- OS << " )" ;
432
- #endif
433
-
434
- // Suppress unused function warning
435
- (void )&printFullRevisionString;
436
-
412
+ OS << " Swift version " SWIFT_VERSION_STRING " (swift-5.0-RELEASE)" ;
437
413
return OS.str ();
438
414
}
439
415
You can’t perform that action at this time.
0 commit comments