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 @@ -372,31 +372,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
372
372
OS << SWIFT_VENDOR " " ;
373
373
#endif
374
374
375
- OS << " Swift version " SWIFT_VERSION_STRING;
376
- #ifndef SWIFT_COMPILER_VERSION
377
- OS << " -dev" ;
378
- #endif
379
-
380
- if (!(effectiveVersion == Version::getCurrentLanguageVersion ())) {
381
- OS << " effective-" << effectiveVersion;
382
- }
383
-
384
- #if defined(SWIFT_COMPILER_VERSION)
385
- OS << " (swiftlang-" SWIFT_COMPILER_VERSION;
386
- #if defined(CLANG_COMPILER_VERSION)
387
- OS << " clang-" CLANG_COMPILER_VERSION;
388
- #endif
389
- OS << " )" ;
390
- #elif defined(LLVM_REVISION) || defined(CLANG_REVISION) || \
391
- defined (SWIFT_REVISION)
392
- OS << " (" ;
393
- printFullRevisionString (OS);
394
- OS << " )" ;
395
- #endif
396
-
397
- // Suppress unused function warning
398
- (void )&printFullRevisionString;
399
-
375
+ OS << " Swift version " SWIFT_VERSION_STRING " (swift-3.1.1-RELEASE)" ;
400
376
return OS.str ();
401
377
}
402
378
You can’t perform that action at this time.
0 commit comments