Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 197e7be

Browse filesBrowse files
committed
Change version string to 'swift-6.1-RELEASE'
1 parent 631ff2a commit 197e7be
Copy full SHA for 197e7be

File tree

Expand file treeCollapse file tree

1 file changed

+1
-24
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-24
lines changed

‎lib/Basic/Version.cpp

Copy file name to clipboardExpand all lines: lib/Basic/Version.cpp
+1-24Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -266,30 +266,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
266266
OS << SWIFT_VENDOR " ";
267267
#endif
268268

269-
OS << "Swift version " SWIFT_VERSION_STRING;
270-
#ifndef SWIFT_COMPILER_VERSION
271-
OS << "-dev";
272-
#endif
273-
274-
if (effectiveVersion != Version::getCurrentLanguageVersion()) {
275-
OS << " effective-" << effectiveVersion;
276-
}
277-
278-
#if defined(SWIFT_COMPILER_VERSION)
279-
OS << " (swiftlang-" SWIFT_COMPILER_VERSION;
280-
#if defined(CLANG_COMPILER_VERSION)
281-
OS << " clang-" CLANG_COMPILER_VERSION;
282-
#endif
283-
OS << ")";
284-
#elif defined(LLVM_REVISION) || defined(SWIFT_REVISION)
285-
OS << " (";
286-
printFullRevisionString(OS);
287-
OS << ")";
288-
#endif
289-
290-
// Suppress unused function warning
291-
(void)&printFullRevisionString;
292-
269+
OS << "Swift version " SWIFT_VERSION_STRING " (swift-6.1-RELEASE)";
293270
return OS.str();
294271
}
295272

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.