summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/compiler_builtins.m
Commit message (Collapse)AuthorAgeFilesLines
* Change @import to @__experimental_modules_import. We are not ready to ↵Ted Kremenek2012-03-011-2/+2
| | | | | | | | commit to a particular syntax for modules, and don't have time to push it forward in the near future. llvm-svn: 151841
* Back out my heinous hack that tricked the module generation mechanismDouglas Gregor2012-02-021-16/+0
| | | | | | | | | | | | | | | | | | | | into using non-absolute system includes (<foo>)... ... and introduce another hack that is simultaneously more heineous and more effective. We whitelist Clang-supplied headers that augment or override system headers (such as float.h, stdarg.h, and tgmath.h). For these headers, Clang does not provide a module mapping. Instead, a system-supplied module map can refer to these headers in a system module, and Clang will look both in its own include directory and wherever the system-supplied module map suggests, then adds either or both headers. The end result is that Clang-supplied headers get merged into the system-supplied module for the C standard library. As a drive-by, fix up a few dependencies in the _Builtin_instrinsics module. llvm-svn: 149611
* test/Modules/compiler_builtins.m: Appease Cygwin to add -D__need_wint_t.NAKAMURA Takumi2012-02-011-1/+1
| | | | | | | | On Cygwin, at first, <stddef.h> is included without __need_wint_t. Next, <stddef.h> is included with __need_wint_t, though Modules feature would not process <stddef.h> twice. Then, wint_t is not found in system headers. llvm-svn: 149500
* test/Modules/compiler_builtins.m: Mark this as XFAIL:win32. MS limits.h ↵NAKAMURA Takumi2012-02-011-0/+2
| | | | | | provides size_t. llvm-svn: 149499
* Split compiler builtin module into "stdlib" builtins and "intrinsic"Douglas Gregor2012-01-311-4/+8
| | | | | | | | builds, and bring mm_alloc.h into the fold. Start playing some tricks with these builtin modules to mirror the include_next tricks that the headers already perform. llvm-svn: 149434
* Remove tgmath.h from the module map for now, because it currently causes aDouglas Gregor2012-01-301-3/+0
| | | | | | | cyclic module dependency due to its inclusion of math.h and complex.h. I'll take another shot at it later. llvm-svn: 149283
* Introduce TargetInfo::hasFeature() to query various feature names inDouglas Gregor2012-01-301-0/+8
| | | | | | | | | | | | | | each of the targets. Use this for module requirements, so that we can pin the availability of certain modules to certain target features, e.g., provide a module for xmmintrin.h only when SSE support is available. Use these feature names to provide a nearly-complete module map for Clang's built-in headers. Only mm_alloc.h and unwind.h are missing, and those two are fairly specialized at the moment. Finishes <rdar://problem/10710060>. llvm-svn: 149227
* Just disable the compiler-builtins module test on MSVC for nowDouglas Gregor2012-01-291-0/+3
| | | | llvm-svn: 149214
* Teach tgmath.h to only include <complex.h> if it's available.Douglas Gregor2012-01-291-2/+2
| | | | llvm-svn: 149213
* Try to get useful diagnostics out of the failing MSVC buildersDouglas Gregor2012-01-291-2/+2
| | | | llvm-svn: 149212
* Alternate fix to the modules failures that doesn't require us to tweak tgmath.hDouglas Gregor2012-01-291-1/+1
| | | | llvm-svn: 149210
* If there's no math.h, then tgmath.h should just be emptyDouglas Gregor2012-01-291-3/+2
| | | | llvm-svn: 149209
* Temporary disable the -verify on this test in the hope of getting some ↵Douglas Gregor2012-01-291-2/+3
| | | | | | useful output from the buildbots llvm-svn: 149208
* Introduce a module map for (some of) the compiler-suppliedDouglas Gregor2012-01-291-0/+12
headers. The remaining headers require more sophisticated requirements; they'll be handled separately. Part of <rdar://problem/10710060>. llvm-svn: 149206
OpenPOWER on IntegriCloud