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