[cfe-commits] r68826 - in /cfe/trunk/test: CodeGenObjC/objc2-weak-compare.m CodeGenObjC/synchronized.m SemaObjC/error-property-gc-attr.m SemaObjC/no-gc-weak-test.m SemaObjC/objc2-warn-weak-decl.m SemaObjC/warn-weak-field.m
Daniel Dunbar
daniel at zuster.org
Fri Apr 10 14:23:20 PDT 2009
Author: ddunbar
Date: Fri Apr 10 16:23:20 2009
New Revision: 68826
URL: http://llvm.org/viewvc/llvm-project?rev=68826&view=rev
Log:
Force triple for a number of tests that rely on __weak.
Modified:
cfe/trunk/test/CodeGenObjC/objc2-weak-compare.m
cfe/trunk/test/CodeGenObjC/synchronized.m
cfe/trunk/test/SemaObjC/error-property-gc-attr.m
cfe/trunk/test/SemaObjC/no-gc-weak-test.m
cfe/trunk/test/SemaObjC/objc2-warn-weak-decl.m
cfe/trunk/test/SemaObjC/warn-weak-field.m
Modified: cfe/trunk/test/CodeGenObjC/objc2-weak-compare.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/objc2-weak-compare.m?rev=68826&r1=68825&r2=68826&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/objc2-weak-compare.m (original)
+++ cfe/trunk/test/CodeGenObjC/objc2-weak-compare.m Fri Apr 10 16:23:20 2009
@@ -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
{
Modified: cfe/trunk/test/CodeGenObjC/synchronized.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/synchronized.m?rev=68826&r1=68825&r2=68826&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/synchronized.m (original)
+++ cfe/trunk/test/CodeGenObjC/synchronized.m Fri Apr 10 16:23:20 2009
@@ -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
Modified: cfe/trunk/test/SemaObjC/error-property-gc-attr.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/error-property-gc-attr.m?rev=68826&r1=68825&r2=68826&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/error-property-gc-attr.m (original)
+++ cfe/trunk/test/SemaObjC/error-property-gc-attr.m Fri Apr 10 16:23:20 2009
@@ -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
{
Modified: cfe/trunk/test/SemaObjC/no-gc-weak-test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/no-gc-weak-test.m?rev=68826&r1=68825&r2=68826&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/no-gc-weak-test.m (original)
+++ cfe/trunk/test/SemaObjC/no-gc-weak-test.m Fri Apr 10 16:23:20 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
@interface Subtask
{
Modified: cfe/trunk/test/SemaObjC/objc2-warn-weak-decl.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/objc2-warn-weak-decl.m?rev=68826&r1=68825&r2=68826&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/objc2-warn-weak-decl.m (original)
+++ cfe/trunk/test/SemaObjC/objc2-warn-weak-decl.m Fri Apr 10 16:23:20 2009
@@ -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}}
};
Modified: cfe/trunk/test/SemaObjC/warn-weak-field.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/warn-weak-field.m?rev=68826&r1=68825&r2=68826&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/warn-weak-field.m (original)
+++ cfe/trunk/test/SemaObjC/warn-weak-field.m Fri Apr 10 16:23:20 2009
@@ -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}}
More information about the cfe-commits
mailing list