Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitf9611bc

Browse files
committed
Change version string to 'swift-5.8-RELEASE'
1 parent7db51a5 commitf9611bc

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

‎lib/Basic/Version.cpp‎

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -246,30 +246,7 @@ std::string getSwiftFullVersion(Version effectiveVersion) {
246246
OS << SWIFT_VENDOR"";
247247
#endif
248248

249-
OS <<"Swift version" SWIFT_VERSION_STRING;
250-
#ifndef SWIFT_COMPILER_VERSION
251-
OS <<"-dev";
252-
#endif
253-
254-
if (effectiveVersion !=Version::getCurrentLanguageVersion()) {
255-
OS <<" effective-" << effectiveVersion;
256-
}
257-
258-
#if defined(SWIFT_COMPILER_VERSION)
259-
OS <<" (swiftlang-" SWIFT_COMPILER_VERSION;
260-
#if defined(CLANG_COMPILER_VERSION)
261-
OS <<" clang-" CLANG_COMPILER_VERSION;
262-
#endif
263-
OS <<")";
264-
#elif defined(LLVM_REVISION) || defined(SWIFT_REVISION)
265-
OS <<" (";
266-
printFullRevisionString(OS);
267-
OS <<")";
268-
#endif
269-
270-
// Suppress unused function warning
271-
(void)&printFullRevisionString;
272-
249+
OS <<"Swift version" SWIFT_VERSION_STRING" (swift-5.8-RELEASE)";
273250
return OS.str();
274251
}
275252

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp