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
This commit is contained in:
Douglas Gregor 2012-01-30 22:22:39 +00:00
parent fed83c5755
commit 56435b49e0
2 changed files with 1 additions and 7 deletions

View File

@ -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 {

View File

@ -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; }