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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149283 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Headers/module.map b/lib/Headers/module.map
index 1a1e0e2..cd18e5e 100644
--- a/lib/Headers/module.map
+++ b/lib/Headers/module.map
@@ -36,10 +36,6 @@
header "stdint.h"
}
- explicit module tgmath {
- header "tgmath.h"
- }
-
explicit module intel {
requires x86
@@ -136,6 +132,7 @@
}
// FIXME: mm_malloc.h
+ // FIXME: tgmath.h
// FIXME: unwind.h
explicit module varargs {
diff --git a/test/Modules/compiler_builtins.m b/test/Modules/compiler_builtins.m
index a451e8a..283ff0e 100644
--- a/test/Modules/compiler_builtins.m
+++ b/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; }