[cfe-commits] r149214 - in /cfe/trunk: lib/Headers/tgmath.h test/Modules/compiler_builtins.m

Douglas Gregor dgregor at apple.com
Sun Jan 29 15:53:54 PST 2012


Author: dgregor
Date: Sun Jan 29 17:53:54 2012
New Revision: 149214

URL: http://llvm.org/viewvc/llvm-project?rev=149214&view=rev
Log:
Just disable the compiler-builtins module test on MSVC for now

Modified:
    cfe/trunk/lib/Headers/tgmath.h
    cfe/trunk/test/Modules/compiler_builtins.m

Modified: cfe/trunk/lib/Headers/tgmath.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/tgmath.h?rev=149214&r1=149213&r2=149214&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/tgmath.h (original)
+++ cfe/trunk/lib/Headers/tgmath.h Sun Jan 29 17:53:54 2012
@@ -30,9 +30,7 @@
 
 /* C++ handles type genericity with overloading in math.h. */
 #ifndef __cplusplus
-#if __has_include(<complex.h>)
-#  include <complex.h>
-#endif
+#include <complex.h>
 
 #define _TG_ATTRSp __attribute__((__overloadable__))
 #define _TG_ATTRS __attribute__((__overloadable__, __always_inline__))

Modified: cfe/trunk/test/Modules/compiler_builtins.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/compiler_builtins.m?rev=149214&r1=149213&r2=149214&view=diff
==============================================================================
--- cfe/trunk/test/Modules/compiler_builtins.m (original)
+++ cfe/trunk/test/Modules/compiler_builtins.m Sun Jan 29 17:53:54 2012
@@ -1,6 +1,9 @@
 // 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; }





More information about the cfe-commits mailing list