summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-01-11 02:14:51 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-01-11 02:14:51 +0000
commitba1b5c98ba941b4382fc26bcf6b410c3120c22d9 (patch)
tree57aab2e8e4e3995049e8d4aacdfd0f5c3dd29b46 /clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap
parente482403e1cfd86f289bb89f716fd71ec734c9931 (diff)
downloadbcm5719-llvm-ba1b5c98ba941b4382fc26bcf6b410c3120c22d9.tar.gz
bcm5719-llvm-ba1b5c98ba941b4382fc26bcf6b410c3120c22d9.zip
[Modules] Support #import when entering files with modules
Textual headers and builtins that are #import'd from different modules should get re-entered when these modules are independent from each other. Differential Revision: https://reviews.llvm.org/D26267 rdar://problem/25881934 llvm-svn: 291644
Diffstat (limited to 'clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap')
-rw-r--r--clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap b/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap
index 7244cb0987e..25b9468d291 100644
--- a/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap
+++ b/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap
@@ -5,4 +5,12 @@ module libc [no_undeclared_includes] {
module stdint { header "stdint.h" export * }
module stdio { header "stdio.h" export * }
module util { header "util.h" export * }
+ module POSIX {
+ module sys {
+ module types {
+ umbrella header "sys/_types/_types.h"
+ export *
+ }
+ }
+ }
}
OpenPOWER on IntegriCloud