Skip to content

Commit 49efa57

Browse files
Updating diagnostic message
1 parent 3bcc072 commit 49efa57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/swift/AST/DiagnosticsDriver.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ ERROR(error_ios_maximum_deployment_32,none,
115115
"iOS %0 does not support 32-bit programs", (unsigned))
116116

117117
WARNING(warn_arclite_not_found_when_link_objc_runtime,none,
118-
"Unable to find Objective-C runtime support library 'arclite'. "
119-
"consider '-no-link-objc-runtime' flag", ())
118+
"unable to find Objective-C runtime support library 'arclite'; "
119+
"pass '-no-link-objc-runtime' to silence this warning", ())
120120

121121
ERROR(error_two_files_same_name,none,
122122
"filename \"%0\" used twice: '%1' and '%2'",

test/Driver/options-interpreter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// CHECK-L2: # DYLD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/lib/swift/macosx$}}
2929

3030
// RUN: env DYLD_LIBRARY_PATH=/abc/ SDKROOT=/sdkroot %swift_driver_plain -### -target x86_64-apple-macosx10.9 -L/foo/ -L/bar/ %s 2>&1 | %FileCheck -check-prefix=CHECK-L2-ENV %s
31-
// CHECK-L2-ENV: warning: Unable to find Objective-C runtime support library 'arclite'. consider '-no-link-objc-runtime' flag
31+
// CHECK-L2-ENV: warning: unable to find Objective-C runtime support library 'arclite'; pass '-no-link-objc-runtime' to silence this warning
3232
// CHECK-L2-ENV: # DYLD_LIBRARY_PATH={{/foo/:/bar/:[^:]+/lib/swift/macosx:/sdkroot/usr/lib/swift:/abc/$}}
3333

3434
// RUN: %swift_driver -### -target x86_64-apple-macosx10.9 %s | %FileCheck -check-prefix=CHECK-NO-FRAMEWORKS %s
@@ -53,7 +53,7 @@
5353
// CHECK-F2-ENV: DYLD_FRAMEWORK_PATH=/foo/:/bar/:/abc/{{$}}
5454

5555
// RUN: env DYLD_FRAMEWORK_PATH=/abc/ SDKROOT=/sdkroot %swift_driver_plain -### -target x86_64-apple-macosx10.9 -F/foo/ -F/bar/ -L/foo2/ -L/bar2/ %s 2>&1 | %FileCheck -check-prefix=CHECK-COMPLEX %s
56-
// CHECK-COMPLEX: warning: Unable to find Objective-C runtime support library 'arclite'. consider '-no-link-objc-runtime' flag
56+
// CHECK-COMPLEX: warning: unable to find Objective-C runtime support library 'arclite'; pass '-no-link-objc-runtime' to silence this warning
5757
// CHECK-COMPLEX: -F /foo/
5858
// CHECK-COMPLEX: -F /bar/
5959
// CHECK-COMPLEX: #

0 commit comments

Comments
 (0)