summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-30 22:22:39 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-30 22:22:39 +0000
commit56435b49e0b137fe33445779342037c0e24c3fab (patch)
treeb9228fa86fc67ad228767de7aea6a6a2fa9b6f0c
parentfed83c5755c4c4952c9b16b23218d9503dd45dcb (diff)
downloadbcm5719-llvm-56435b49e0b137fe33445779342037c0e24c3fab.tar.gz
bcm5719-llvm-56435b49e0b137fe33445779342037c0e24c3fab.zip
Remove tgmath.h from the module map for now, because it currently causes a
cyclic module dependency due to its inclusion of math.h and complex.h. I'll take another shot at it later. llvm-svn: 149283
-rw-r--r--clang/lib/Headers/module.map5
-rw-r--r--clang/test/Modules/compiler_builtins.m3
2 files changed, 1 insertions, 7 deletions
diff --git a/clang/lib/Headers/module.map b/clang/lib/Headers/module.map
index 1a1e0e26ca1..cd18e5efb48 100644
--- a/clang/lib/Headers/module.map
+++ b/clang/lib/Headers/module.map
@@ -36,10 +36,6 @@ module __compiler_builtins [system] {
header "stdint.h"
}
- explicit module tgmath {
- header "tgmath.h"
- }
-
explicit module intel {
requires x86
@@ -136,6 +132,7 @@ module __compiler_builtins [system] {
}
// FIXME: mm_malloc.h
+ // FIXME: tgmath.h
// FIXME: unwind.h
explicit module varargs {
diff --git a/clang/test/Modules/compiler_builtins.m b/clang/test/Modules/compiler_builtins.m
index a451e8a7add..283ff0eefe1 100644
--- a/clang/test/Modules/compiler_builtins.m
+++ b/clang/test/Modules/compiler_builtins.m
@@ -1,9 +1,6 @@
// RUN: rm -rf %t
// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t %s -Xclang -verify
-// Note: disable test on MSVC, which doesn't have <complex.h>.
-// REQUIRES: shell
-
@import __compiler_builtins.float_constants;
float getFltMax() { return FLT_MAX; }
OpenPOWER on IntegriCloud