]> granicus.if.org Git - clang/commitdiff
Use -fobjc-runtime=macosx10.7 instead of obsolete -fobjc-runtime-has-weak.
authorJordan Rose <jordan_rose@apple.com>
Mon, 20 Aug 2012 21:55:33 +0000 (21:55 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 20 Aug 2012 21:55:33 +0000 (21:55 +0000)
This should unbreak the buildbots (r162220).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162232 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/complete-property-flags.m

index 3c5b0e231c3bf2355ddb8b45ed905b323569f94a..86ee8e26f75976a6a4a17a0b3d4db62089ae7d91 100644 (file)
@@ -21,7 +21,7 @@
 // CHECK-CC1-NEXT: {TypedText unsafe_unretained}
 // CHECK-CC1-NOT: {TypedText weak}
 
-// RUN: c-index-test -code-completion-at=%s:7:11 %s -fobjc-arc -fobjc-runtime-has-weak | FileCheck -check-prefix=CHECK-CC1-ARC %s
+// RUN: c-index-test -code-completion-at=%s:7:11 %s -fobjc-arc -fobjc-runtime=macosx-10.7 | FileCheck -check-prefix=CHECK-CC1-ARC %s
 // CHECK-CC1-ARC: {TypedText assign}
 // CHECK-CC1-ARC-NEXT: {TypedText atomic}
 // CHECK-CC1-ARC-NEXT: {TypedText copy}