Introduce a module map for (some of) the compiler-supplied
headers. The remaining headers require more sophisticated
requirements; they'll be handled separately. Part of
<rdar://problem/10710060>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149206 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Headers/module.map b/lib/Headers/module.map
new file mode 100644
index 0000000..5ff2139
--- /dev/null
+++ b/lib/Headers/module.map
@@ -0,0 +1,39 @@
+module __compiler_builtins [system] {
+ explicit module float_constants {
+ header "float.h"
+ }
+
+ explicit module iso646 {
+ header "iso646.h"
+ }
+
+ explicit module limits {
+ header "limits.h"
+ }
+
+ explicit module stdalign {
+ header "stdalign.h"
+ }
+
+ explicit module stdarg {
+ header "stdarg.h"
+ }
+
+ explicit module stdbool {
+ header "stdbool.h"
+ }
+
+ explicit module stddef {
+ header "stddef.h"
+ }
+
+ explicit module stdint {
+ header "stdint.h"
+ }
+
+ explicit module tgmath {
+ header "tgmath.h"
+ }
+
+ // FIXME: add various altivec, *intrin headers.
+}