diff options
-rw-r--r-- | clang/lib/Headers/tgmath.h | 2 | ||||
-rw-r--r-- | clang/test/Modules/compiler_builtins.m | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Headers/tgmath.h b/clang/lib/Headers/tgmath.h index 0617ae2ddb3..1b0b9d24c1d 100644 --- a/clang/lib/Headers/tgmath.h +++ b/clang/lib/Headers/tgmath.h @@ -26,7 +26,6 @@ #define __TGMATH_H /* C99 7.22 Type-generic math <tgmath.h>. */ -#if __has_include(<math.h>) #include <math.h> /* C++ handles type genericity with overloading in math.h. */ @@ -1355,5 +1354,4 @@ static long double #undef _TG_ATTRS #endif /* __cplusplus */ -#endif /* __has_include(<math.h>) */ #endif /* __TGMATH_H */ diff --git a/clang/test/Modules/compiler_builtins.m b/clang/test/Modules/compiler_builtins.m index 3cf24142d33..52db15c24a0 100644 --- a/clang/test/Modules/compiler_builtins.m +++ b/clang/test/Modules/compiler_builtins.m @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -verify %s +// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t -Xclang -verify %s @import __compiler_builtins.float_constants; |