From: Douglas Gregor Date: Mon, 30 Jan 2012 22:22:39 +0000 (+0000) Subject: Remove tgmath.h from the module map for now, because it currently causes a X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f7d64b6d4f9392ce783613458f3eb7a6cc78a9f;p=clang 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 1a1e0e26ca..cd18e5efb4 100644 --- a/lib/Headers/module.map +++ b/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/test/Modules/compiler_builtins.m b/test/Modules/compiler_builtins.m index a451e8a7ad..283ff0eefe 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 . -// REQUIRES: shell - @import __compiler_builtins.float_constants; float getFltMax() { return FLT_MAX; }