aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ilseman <milseman@apple.com>2012-12-10 18:48:08 +0000
committerMichael Ilseman <milseman@apple.com>2012-12-10 18:48:08 +0000
commit23add332da632c3cee7638b9d72b4ba8df67541c (patch)
treee0f346c01ac1013e37cd9a53d201225ac874bb11
parent56e49c5cc2b05e805c7aa9dc53672711e540d58b (diff)
Remove unneeded typedef and volatile
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169743 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/fast-math.c4
-rw-r--r--test/CodeGen/finite-math.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/test/CodeGen/fast-math.c b/test/CodeGen/fast-math.c
index 9f9a39269e..76cfbbd365 100644
--- a/test/CodeGen/fast-math.c
+++ b/test/CodeGen/fast-math.c
@@ -1,7 +1,5 @@
// RUN: %clang_cc1 -ffast-math -emit-llvm -o - %s | FileCheck %s
-typedef unsigned cond_t;
-
-volatile float f0, f1, f2;
+float f0, f1, f2;
void foo(void) {
// CHECK: define void @foo()
diff --git a/test/CodeGen/finite-math.c b/test/CodeGen/finite-math.c
index a79ee0c257..bf39cea42c 100644
--- a/test/CodeGen/finite-math.c
+++ b/test/CodeGen/finite-math.c
@@ -1,7 +1,5 @@
// RUN: %clang_cc1 -ffinite-math-only -emit-llvm -o - %s | FileCheck %s
-typedef unsigned cond_t;
-
-volatile float f0, f1, f2;
+float f0, f1, f2;
void foo(void) {
// CHECK: define void @foo()