diff options
| author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2009-10-15 00:39:58 +0000 |
|---|---|---|
| committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2009-10-15 00:39:58 +0000 |
| commit | 3254182bfa60bac54809bd3b515b89548dbee2e4 (patch) | |
| tree | f572ad22fd27a831a87761828b70540c9d7a39c8 /clang | |
| parent | fcb27ad54cb1591a6365b24cc2f1e3eea5f914fa (diff) | |
| download | bcm5719-llvm-3254182bfa60bac54809bd3b515b89548dbee2e4.tar.gz bcm5719-llvm-3254182bfa60bac54809bd3b515b89548dbee2e4.zip | |
Removed math.h include, as Windows math.h has a compile error.
llvm-svn: 84160
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/CodeGen/builtins-powi.c | 1 | ||||
| -rw-r--r-- | clang/test/CodeGen/builtins.c | 3 | ||||
| -rw-r--r-- | clang/test/CodeGen/const-init.c | 2 | ||||
| -rw-r--r-- | clang/test/CodeGen/mandel.c | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/clang/test/CodeGen/builtins-powi.c b/clang/test/CodeGen/builtins-powi.c index 5b413a88950..57fa81a3ad1 100644 --- a/clang/test/CodeGen/builtins-powi.c +++ b/clang/test/CodeGen/builtins-powi.c @@ -3,7 +3,6 @@ #include <stdio.h> #include <stdlib.h> -#include <math.h> void test(long double a, int b) { printf("%Lf**%d: %08x %08x %016Lx\n", diff --git a/clang/test/CodeGen/builtins.c b/clang/test/CodeGen/builtins.c index 165db9c2675..35a588ec88b 100644 --- a/clang/test/CodeGen/builtins.c +++ b/clang/test/CodeGen/builtins.c @@ -2,7 +2,6 @@ // RUN: not grep __builtin %t #include <stdio.h> -#include <math.h> void p(char *str, int x) { printf("%s: %d\n", str, x); @@ -118,7 +117,7 @@ int main() { -void strcat() {} +char *strcat(char *, char const *) {} void foo() { __builtin_strcat(0, 0); diff --git a/clang/test/CodeGen/const-init.c b/clang/test/CodeGen/const-init.c index 29e9c556152..e25da9c6eba 100644 --- a/clang/test/CodeGen/const-init.c +++ b/clang/test/CodeGen/const-init.c @@ -1,6 +1,6 @@ // RUN: clang-cc -triple i386-pc-linux-gnu -verify -emit-llvm -o - %s | FileCheck %s -#include <stdint.h> +typedef __INTPTR_TYPE__ intptr_t; // Brace-enclosed string array initializers char a[] = { "asdf" }; diff --git a/clang/test/CodeGen/mandel.c b/clang/test/CodeGen/mandel.c index 6f46ee407f5..27993f0559e 100644 --- a/clang/test/CodeGen/mandel.c +++ b/clang/test/CodeGen/mandel.c @@ -25,8 +25,6 @@ int main() { return 0; } #define I 1.0iF -#include <math.h> - #include <stdio.h> volatile double __complex__ accum; |

