File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,30 +254,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
254254 OS << SWIFT_VENDOR " " ;
255255#endif
256256
257- OS << " Swift version " SWIFT_VERSION_STRING ;
258- #ifndef SWIFT_COMPILER_VERSION
259- OS << " -dev" ;
260- #endif
261-
262- if (effectiveVersion != Version::getCurrentLanguageVersion ()) {
263- OS << " effective-" << effectiveVersion;
264- }
265-
266- #if defined(SWIFT_COMPILER_VERSION)
267- OS << " (swiftlang-" SWIFT_COMPILER_VERSION ;
268- #if defined(CLANG_COMPILER_VERSION)
269- OS << " clang-" CLANG_COMPILER_VERSION ;
270- #endif
271- OS << " )" ;
272- #elif defined(LLVM_REVISION) || defined(SWIFT_REVISION)
273- OS << " (" ;
274- printFullRevisionString (OS );
275- OS << " )" ;
276- #endif
277-
278- // Suppress unused function warning
279- (void )&printFullRevisionString;
280-
257+ OS << " Swift version " SWIFT_VERSION_STRING " (swift-6.0.1-RELEASE)" ;
281258 return OS .str ();
282259}
283260
You can’t perform that action at this time.
0 commit comments