summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-21 02:51:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-21 02:51:29 +0000
commit19d84c3c51766ea618564af439188f349a4e87e8 (patch)
treef7ad7376a383d9acce0e2ccccb516f07196431e8 /clang/test
parent10a230ded99927cdef9f4996a2505c004713eca2 (diff)
downloadbcm5719-llvm-19d84c3c51766ea618564af439188f349a4e87e8.tar.gz
bcm5719-llvm-19d84c3c51766ea618564af439188f349a4e87e8.zip
Update a number of CodeGen tests to not create .ll files in the test
directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGen/2007-11-29-ArraySizeFromInitializer.c2
-rw-r--r--clang/test/CodeGen/2008-02-07-bitfield-bug.c2
-rw-r--r--clang/test/CodeGen/2008-02-08-bitfield-bug.c2
-rw-r--r--clang/test/CodeGen/OpaqueStruct.c2
-rw-r--r--clang/test/CodeGen/array.c2
-rw-r--r--clang/test/CodeGen/bitfield-init.c2
-rw-r--r--clang/test/CodeGen/bool-bitfield.c2
-rw-r--r--clang/test/CodeGen/boolassign.c2
-rw-r--r--clang/test/CodeGen/cast.c2
-rw-r--r--clang/test/CodeGen/cfstring.c4
-rw-r--r--clang/test/CodeGen/conditional-gnu-ext.c2
-rw-r--r--clang/test/CodeGen/conditional.c2
-rw-r--r--clang/test/CodeGen/extern-block-var.c2
-rw-r--r--clang/test/CodeGen/global-with-initialiser.c2
-rw-r--r--clang/test/CodeGen/globalinit.c2
-rw-r--r--clang/test/CodeGen/int-to-pointer.c2
-rw-r--r--clang/test/CodeGen/mandel.c2
-rw-r--r--clang/test/CodeGen/merge-attrs.c2
-rw-r--r--clang/test/CodeGen/ocu-vector.c2
-rw-r--r--clang/test/CodeGen/opaque-pointer.c2
-rw-r--r--clang/test/CodeGen/pointer-arithmetic.c2
-rw-r--r--clang/test/CodeGen/shared-string-literals.c2
-rw-r--r--clang/test/CodeGen/static-forward-decl-fun.c2
-rw-r--r--clang/test/CodeGen/string-literal.c2
-rw-r--r--clang/test/CodeGen/struct-comma.c2
-rw-r--r--clang/test/CodeGen/struct-init.c2
-rw-r--r--clang/test/CodeGen/struct.c2
-rw-r--r--clang/test/CodeGen/trunc-array-initializer.c2
-rw-r--r--clang/test/CodeGen/typedef.c2
-rw-r--r--clang/test/CodeGen/union.c2
-rw-r--r--clang/test/CodeGen/vector.c2
-rw-r--r--clang/test/CodeGen/whilestmt.c2
-rw-r--r--clang/test/CodeGen/writable-strings.c2
33 files changed, 34 insertions, 34 deletions
diff --git a/clang/test/CodeGen/2007-11-29-ArraySizeFromInitializer.c b/clang/test/CodeGen/2007-11-29-ArraySizeFromInitializer.c
index 6c53ff0c6fa..74203c5b1e7 100644
--- a/clang/test/CodeGen/2007-11-29-ArraySizeFromInitializer.c
+++ b/clang/test/CodeGen/2007-11-29-ArraySizeFromInitializer.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
int array[] = {1, 2, 3, 4, 5};
diff --git a/clang/test/CodeGen/2008-02-07-bitfield-bug.c b/clang/test/CodeGen/2008-02-07-bitfield-bug.c
index 996cc4c56a8..65f54115425 100644
--- a/clang/test/CodeGen/2008-02-07-bitfield-bug.c
+++ b/clang/test/CodeGen/2008-02-07-bitfield-bug.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
// PR1990
struct test {
diff --git a/clang/test/CodeGen/2008-02-08-bitfield-bug.c b/clang/test/CodeGen/2008-02-08-bitfield-bug.c
index 1a9c266fe7f..3818e961c73 100644
--- a/clang/test/CodeGen/2008-02-08-bitfield-bug.c
+++ b/clang/test/CodeGen/2008-02-08-bitfield-bug.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
struct test {
unsigned a:1;
diff --git a/clang/test/CodeGen/OpaqueStruct.c b/clang/test/CodeGen/OpaqueStruct.c
index ecf81fa8307..f005f2a0e5f 100644
--- a/clang/test/CodeGen/OpaqueStruct.c
+++ b/clang/test/CodeGen/OpaqueStruct.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
typedef struct a b;
b* x;
diff --git a/clang/test/CodeGen/array.c b/clang/test/CodeGen/array.c
index 58efce7fd77..ed56b5be63d 100644
--- a/clang/test/CodeGen/array.c
+++ b/clang/test/CodeGen/array.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
int f() {
int a[2];
diff --git a/clang/test/CodeGen/bitfield-init.c b/clang/test/CodeGen/bitfield-init.c
index c5f6139800d..1749bd3ff4d 100644
--- a/clang/test/CodeGen/bitfield-init.c
+++ b/clang/test/CodeGen/bitfield-init.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
typedef struct { unsigned int i: 1; } c;
const c d = { 1 };
diff --git a/clang/test/CodeGen/bool-bitfield.c b/clang/test/CodeGen/bool-bitfield.c
index 09298ed53b9..d50927f9f33 100644
--- a/clang/test/CodeGen/bool-bitfield.c
+++ b/clang/test/CodeGen/bool-bitfield.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
// From GCC PR19331
struct SysParams
diff --git a/clang/test/CodeGen/boolassign.c b/clang/test/CodeGen/boolassign.c
index 7f76a924590..0d4bf490ed6 100644
--- a/clang/test/CodeGen/boolassign.c
+++ b/clang/test/CodeGen/boolassign.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
int testBoolAssign(void) {
int ss;
diff --git a/clang/test/CodeGen/cast.c b/clang/test/CodeGen/cast.c
index dfd9bb87c3a..00dd4c880d1 100644
--- a/clang/test/CodeGen/cast.c
+++ b/clang/test/CodeGen/cast.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
extern void go(const void *p);
float v[2] = { 0.0, 1.0 };
diff --git a/clang/test/CodeGen/cfstring.c b/clang/test/CodeGen/cfstring.c
index c7df1b30339..ef42d062839 100644
--- a/clang/test/CodeGen/cfstring.c
+++ b/clang/test/CodeGen/cfstring.c
@@ -1,6 +1,6 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
#define CFSTR __builtin___CFStringMakeConstantString
void f() {
CFSTR("Hello, World!");
-} \ No newline at end of file
+}
diff --git a/clang/test/CodeGen/conditional-gnu-ext.c b/clang/test/CodeGen/conditional-gnu-ext.c
index 5b2eb3f3d5e..d4ae330949f 100644
--- a/clang/test/CodeGen/conditional-gnu-ext.c
+++ b/clang/test/CodeGen/conditional-gnu-ext.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
// PR1824
int foo(int x, short y) {
diff --git a/clang/test/CodeGen/conditional.c b/clang/test/CodeGen/conditional.c
index 29ad7867938..81e5ff525c9 100644
--- a/clang/test/CodeGen/conditional.c
+++ b/clang/test/CodeGen/conditional.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
float test1(int cond, float a, float b)
{
diff --git a/clang/test/CodeGen/extern-block-var.c b/clang/test/CodeGen/extern-block-var.c
index ea8df7bfc67..35136384913 100644
--- a/clang/test/CodeGen/extern-block-var.c
+++ b/clang/test/CodeGen/extern-block-var.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
int f() {
extern int a;
diff --git a/clang/test/CodeGen/global-with-initialiser.c b/clang/test/CodeGen/global-with-initialiser.c
index 2e4bdf8840e..be12c24f81d 100644
--- a/clang/test/CodeGen/global-with-initialiser.c
+++ b/clang/test/CodeGen/global-with-initialiser.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
const int globalInt = 1;
int globalIntWithFloat = 1.5f;
diff --git a/clang/test/CodeGen/globalinit.c b/clang/test/CodeGen/globalinit.c
index a5535b5853a..0f3e21a6caf 100644
--- a/clang/test/CodeGen/globalinit.c
+++ b/clang/test/CodeGen/globalinit.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
int A[10] = { 1,2,3,4,5 };
diff --git a/clang/test/CodeGen/int-to-pointer.c b/clang/test/CodeGen/int-to-pointer.c
index fdb61882281..e427e73f6d5 100644
--- a/clang/test/CodeGen/int-to-pointer.c
+++ b/clang/test/CodeGen/int-to-pointer.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
void *test(int i)
{
diff --git a/clang/test/CodeGen/mandel.c b/clang/test/CodeGen/mandel.c
index 06789564f31..388e922e010 100644
--- a/clang/test/CodeGen/mandel.c
+++ b/clang/test/CodeGen/mandel.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
/* Sparc is not C99-compliant */
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
diff --git a/clang/test/CodeGen/merge-attrs.c b/clang/test/CodeGen/merge-attrs.c
index 5ac0217e2b8..c3349d8e97b 100644
--- a/clang/test/CodeGen/merge-attrs.c
+++ b/clang/test/CodeGen/merge-attrs.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
void *malloc(int size) __attribute__ ((__nothrow__));
diff --git a/clang/test/CodeGen/ocu-vector.c b/clang/test/CodeGen/ocu-vector.c
index 3313b127f01..24ea17d527a 100644
--- a/clang/test/CodeGen/ocu-vector.c
+++ b/clang/test/CodeGen/ocu-vector.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
typedef __attribute__(( ext_vector_type(4) )) float float4;
typedef __attribute__(( ext_vector_type(2) )) float float2;
diff --git a/clang/test/CodeGen/opaque-pointer.c b/clang/test/CodeGen/opaque-pointer.c
index 33706aa9d88..31c27f49144 100644
--- a/clang/test/CodeGen/opaque-pointer.c
+++ b/clang/test/CodeGen/opaque-pointer.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
struct test;
typedef void (*my_func) (struct test *);
diff --git a/clang/test/CodeGen/pointer-arithmetic.c b/clang/test/CodeGen/pointer-arithmetic.c
index 6b4de911128..3133c9effe4 100644
--- a/clang/test/CodeGen/pointer-arithmetic.c
+++ b/clang/test/CodeGen/pointer-arithmetic.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
typedef int Int;
diff --git a/clang/test/CodeGen/shared-string-literals.c b/clang/test/CodeGen/shared-string-literals.c
index 45b2f95a61e..2e8269b2a38 100644
--- a/clang/test/CodeGen/shared-string-literals.c
+++ b/clang/test/CodeGen/shared-string-literals.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
char *globalString = "abc";
char *globalStringArray[5] = { "123", "abc" };
diff --git a/clang/test/CodeGen/static-forward-decl-fun.c b/clang/test/CodeGen/static-forward-decl-fun.c
index 636c8fb0d7f..69080e3a038 100644
--- a/clang/test/CodeGen/static-forward-decl-fun.c
+++ b/clang/test/CodeGen/static-forward-decl-fun.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
static int staticfun(void);
int (*staticuse1)(void) = staticfun;
diff --git a/clang/test/CodeGen/string-literal.c b/clang/test/CodeGen/string-literal.c
index 8b39dfcdb1d..e19168e4104 100644
--- a/clang/test/CodeGen/string-literal.c
+++ b/clang/test/CodeGen/string-literal.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
int main() {
char a[10] = "abc";
diff --git a/clang/test/CodeGen/struct-comma.c b/clang/test/CodeGen/struct-comma.c
index e8070dd1782..b53013f7aab 100644
--- a/clang/test/CodeGen/struct-comma.c
+++ b/clang/test/CodeGen/struct-comma.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
struct S {int a, b;} x;
void a(struct S* b) {*b = (r(), x);}
diff --git a/clang/test/CodeGen/struct-init.c b/clang/test/CodeGen/struct-init.c
index 02cbee06b0c..ab14a1dc1d4 100644
--- a/clang/test/CodeGen/struct-init.c
+++ b/clang/test/CodeGen/struct-init.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
typedef struct _zend_ini_entry zend_ini_entry;
struct _zend_ini_entry {
diff --git a/clang/test/CodeGen/struct.c b/clang/test/CodeGen/struct.c
index f567a0b2ff1..9af684b1140 100644
--- a/clang/test/CodeGen/struct.c
+++ b/clang/test/CodeGen/struct.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
struct {
int x;
diff --git a/clang/test/CodeGen/trunc-array-initializer.c b/clang/test/CodeGen/trunc-array-initializer.c
index 6f4caf45881..f397657f8f9 100644
--- a/clang/test/CodeGen/trunc-array-initializer.c
+++ b/clang/test/CodeGen/trunc-array-initializer.c
@@ -1,3 +1,3 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
int ary[2] = { 1, 2, 3 };
diff --git a/clang/test/CodeGen/typedef.c b/clang/test/CodeGen/typedef.c
index 291f0c89dba..75f6933c40d 100644
--- a/clang/test/CodeGen/typedef.c
+++ b/clang/test/CodeGen/typedef.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
typedef struct { int i; } Value;
typedef Value *PValue;
diff --git a/clang/test/CodeGen/union.c b/clang/test/CodeGen/union.c
index 616cf56ece8..96287ea0a6d 100644
--- a/clang/test/CodeGen/union.c
+++ b/clang/test/CodeGen/union.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
union u_tag {
int a;
diff --git a/clang/test/CodeGen/vector.c b/clang/test/CodeGen/vector.c
index ac9922524e1..86956e05f58 100644
--- a/clang/test/CodeGen/vector.c
+++ b/clang/test/CodeGen/vector.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm %s -o %t
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
void f()
diff --git a/clang/test/CodeGen/whilestmt.c b/clang/test/CodeGen/whilestmt.c
index 8ded265d0c0..c7f8de8a529 100644
--- a/clang/test/CodeGen/whilestmt.c
+++ b/clang/test/CodeGen/whilestmt.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang %s -emit-llvm -o %t
int bar();
int foo() {
diff --git a/clang/test/CodeGen/writable-strings.c b/clang/test/CodeGen/writable-strings.c
index 36cb9b58147..cde64aa5e6d 100644
--- a/clang/test/CodeGen/writable-strings.c
+++ b/clang/test/CodeGen/writable-strings.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -fwritable-strings %s
+// RUN: clang -emit-llvm -o %t -fwritable-strings %s
int main() {
char *str = "abc";
OpenPOWER on IntegriCloud