]> granicus.if.org Git - clang/commitdiff
Force triple for a number of tests that rely on __weak.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 10 Apr 2009 21:23:20 +0000 (21:23 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 10 Apr 2009 21:23:20 +0000 (21:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68826 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/objc2-weak-compare.m
test/CodeGenObjC/synchronized.m
test/SemaObjC/error-property-gc-attr.m
test/SemaObjC/no-gc-weak-test.m
test/SemaObjC/objc2-warn-weak-decl.m
test/SemaObjC/warn-weak-field.m

index 7a9381d2b4064e60a7be456a9adeb93ee9c96db3..be769899a17d5edb8e2076d8f22823b399a049c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
 
 @interface PBXTarget 
 {
index 5c1d3979d39b96511696ae126f878d6b2a1234b1..287f89e6c4251bd13d65dc90cfb3afb014398769 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s -O2 &&
+// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin9 -o %t %s -O2 &&
 // RUN: grep 'ret i32' %t | count 1 &&
 // RUN: grep 'ret i32 1' %t | count 1
 
index 9c94c78a8717b3b50bdfcbb64f4fd6d9cda7fdab..a44ba4f3768dcbf8747f63459e11581169df9a23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-gc -fsyntax-only -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
 
 @interface INTF
 {
index e762c0581510e7cb5990df31a6165979c4fb77f7..03a881f589a62fc84cc458a27e22899efd6857a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc  -fsyntax-only -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 @interface Subtask
 {
index a52ce8831accda256a2a816cda2f9ed9f540681b..5de52ba2203c488c9df1e191e2c0d8e9c8d6a494 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -fobjc-gc -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
 struct S {
        __weak id  p;  // expected-warning {{__weak attribute cannot be specified on a field declaration}}
 };
index be222eea058fa96c575350b6c860b09a7946a50c..3850f217beea822f136557949075d21cc01e0026 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -fobjc-gc -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
 
 struct S {
        __weak id w; // expected-warning {{__weak attribute cannot be specified on a field declaration}}