2011-07-10 04:00:58 +08:00
|
|
|
// RUN: %clang -### -ccc-arcmt-migrate /foo/bar -fsyntax-only %s 2>&1 | FileCheck %s
|
|
|
|
|
2020-11-16 21:30:54 +08:00
|
|
|
// CHECK: "-arcmt-action=migrate" "-mt-migrate-directory" "{{[^"]*}}/foo/bar"
|
2011-10-08 06:58:08 +08:00
|
|
|
|
|
|
|
// RUN: touch %t.o
|
2012-01-21 06:01:23 +08:00
|
|
|
// RUN: %clang -ccc-arcmt-check -target i386-apple-darwin9 -### %t.o 2> %t.log
|
2011-10-08 06:58:08 +08:00
|
|
|
// RUN: FileCheck -check-prefix=LINK %s < %t.log
|
2012-01-21 06:01:23 +08:00
|
|
|
// RUN: %clang -ccc-arcmt-migrate /foo/bar -target i386-apple-darwin9 -### %t.o 2> %t.log
|
2011-10-08 06:58:08 +08:00
|
|
|
// RUN: FileCheck -check-prefix=LINK %s < %t.log
|
|
|
|
|
2011-10-08 08:54:49 +08:00
|
|
|
// LINK-NOT: {{ld(.exe)?"}}
|
|
|
|
// LINK: {{touch(.exe)?"}}
|
2013-06-25 03:01:18 +08:00
|
|
|
|
|
|
|
// RUN: %clang -### -ccc-arcmt-migrate /foo/bar -fsyntax-only -fno-objc-arc %s 2>&1 | FileCheck -check-prefix=CHECK-NOARC %s
|
|
|
|
// CHECK-NOARC-NOT: argument unused during compilation
|